mirror of
https://github.com/2martens/tsw-timetable.git
synced 2026-10-17 16:06:51 +02:00
31 lines
493 B
Kotlin
31 lines
493 B
Kotlin
plugins {
|
|
java
|
|
`java-library`
|
|
id("twomartens.base")
|
|
application
|
|
}
|
|
|
|
val projectSourceCompatibility: String = rootProject.properties["projectSourceCompatibility"].toString()
|
|
|
|
java {
|
|
toolchain {
|
|
languageVersion.set(JavaLanguageVersion.of(projectSourceCompatibility))
|
|
}
|
|
}
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
tasks.register("buildAll") {
|
|
group = "build"
|
|
dependsOn("build")
|
|
dependsOn("test")
|
|
}
|
|
|
|
tasks.clean {
|
|
doFirst {
|
|
delete("out")
|
|
}
|
|
}
|