Files
timetable/buildSrc/src/main/kotlin/twomartens.java-preview.gradle.kts
T
2martens 7fbd270019 feat: Support CRUD functionality (#7)
The station search implementation only works via DB and is very slow. For a simple query, the answer takes about 1s or longer. That is 100 times slower than it should be. For now, however, this solution is adequate to achieve a first prototype that includes the core functionality.

feat: Add station search
2024-01-06 14:06:43 +01:00

15 lines
321 B
Kotlin

plugins {
id("twomartens.java-base")
}
tasks.withType<JavaCompile>().configureEach {
options.compilerArgs.plusAssign("--enable-preview")
}
tasks.withType<Test>().configureEach {
jvmArgs.plusAssign("--enable-preview")
}
tasks.withType<JavaExec>().configureEach {
jvmArgs.plusAssign("--enable-preview")
}