diff --git a/build.gradle.kts b/build.gradle.kts index b05e01a..cf60078 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -4,12 +4,20 @@ plugins { } group = "org.thundernetwork" -version = "1.0" +version = "1.0.0" repositories { maven("https://repository.thundernetwork.org/repository/maven-public") } +kotlin { + jvmToolchain(17) +} + +java { + withSourcesJar() +} + dependencies { // testImplementation(kotlin("test")) } @@ -17,9 +25,13 @@ dependencies { tasks.test { useJUnitPlatform() } -kotlin { - jvmToolchain(17) -} + +//tasks.jar { +// from(sourceSets.main) // Include all source code in the JAR +// manifest { +// attributes(mapOf("Main-Class" to "org.thundernetwork.sitemap")) +// } +//} publishing { repositories { diff --git a/src/main/kotlin/Main.kt b/src/main/kotlin/sitemap.kt similarity index 100% rename from src/main/kotlin/Main.kt rename to src/main/kotlin/sitemap.kt