commit 853c26b34899e75edcbe5f42edb7f1deb2ced9f9 Author: Maxwell Date: Mon Sep 23 13:15:35 2024 +1000 Upload files to "/" diff --git a/build.gradle.kts b/build.gradle.kts new file mode 100644 index 0000000..885257e --- /dev/null +++ b/build.gradle.kts @@ -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 { + manifest { + attributes["Main-Class"] = "org.example.MainKt" + } +} + +dependencies { + testImplementation(kotlin("test")) +} + +tasks.test { + useJUnitPlatform() +} +kotlin { + jvmToolchain(17) +} diff --git a/settings.gradle.kts b/settings.gradle.kts new file mode 100644 index 0000000..f3c43e0 --- /dev/null +++ b/settings.gradle.kts @@ -0,0 +1,5 @@ +plugins { + id("org.gradle.toolchains.foojay-resolver-convention") version "0.8.0" +} +rootProject.name = "example" +