Upload files to "/"
This commit is contained in:
commit
853c26b348
34
build.gradle.kts
Normal file
34
build.gradle.kts
Normal file
|
@ -0,0 +1,34 @@
|
|||
plugins {
|
||||
kotlin("jvm") version "2.0.0"
|
||||
application
|
||||
distribution
|
||||
}
|
||||
|
||||
application {
|
||||
mainClass.set("org.example.MainKt")
|
||||
layout.buildDirectory.dir("distributions/")
|
||||
}
|
||||
|
||||
group = "org.example"
|
||||
version = "0.0.1"
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
}
|
||||
|
||||
tasks.withType<Jar> {
|
||||
manifest {
|
||||
attributes["Main-Class"] = "org.example.MainKt"
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
testImplementation(kotlin("test"))
|
||||
}
|
||||
|
||||
tasks.test {
|
||||
useJUnitPlatform()
|
||||
}
|
||||
kotlin {
|
||||
jvmToolchain(17)
|
||||
}
|
5
settings.gradle.kts
Normal file
5
settings.gradle.kts
Normal file
|
@ -0,0 +1,5 @@
|
|||
plugins {
|
||||
id("org.gradle.toolchains.foojay-resolver-convention") version "0.8.0"
|
||||
}
|
||||
rootProject.name = "example"
|
||||
|
Loading…
Reference in New Issue
Block a user