Some fixes

This commit is contained in:
Christian Torbidone 2024-08-02 00:07:43 +02:00
parent fa70c16dbd
commit 481a60fc1a
2 changed files with 16 additions and 4 deletions

View file

@ -4,12 +4,20 @@ plugins {
} }
group = "org.thundernetwork" group = "org.thundernetwork"
version = "1.0" version = "1.0.0"
repositories { repositories {
maven("https://repository.thundernetwork.org/repository/maven-public") maven("https://repository.thundernetwork.org/repository/maven-public")
} }
kotlin {
jvmToolchain(17)
}
java {
withSourcesJar()
}
dependencies { dependencies {
// testImplementation(kotlin("test")) // testImplementation(kotlin("test"))
} }
@ -17,9 +25,13 @@ dependencies {
tasks.test { tasks.test {
useJUnitPlatform() 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 { publishing {
repositories { repositories {