Upload files to "/"

This commit is contained in:
Maxwell 2024-09-23 13:15:35 +10:00
commit 853c26b348
2 changed files with 39 additions and 0 deletions

34
build.gradle.kts Normal file
View 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
View File

@ -0,0 +1,5 @@
plugins {
id("org.gradle.toolchains.foojay-resolver-convention") version "0.8.0"
}
rootProject.name = "example"