mirror of
https://github.com/2martens/tsw-timetable.git
synced 2026-10-19 16:56:51 +02:00
Changed to Kotlin
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
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")
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user