Remove -Xopt-in compiler argument

We don't need to opt in to the experimental Time class any longer.
This commit is contained in:
Hannes Braun 2023-04-03 21:17:54 +02:00
parent 9f8ca744bc
commit 97f32069fa
Signed by: hannesbraun
GPG Key ID: 7B6557E1DFD685BE
2 changed files with 0 additions and 2 deletions

View File

@ -33,7 +33,6 @@ test {
def jvmTargetVersion = "11"
compileKotlin {
kotlinOptions.jvmTarget = jvmTargetVersion
kotlinOptions.freeCompilerArgs += "-Xopt-in=kotlin.RequiresOptIn"
}
compileJava {
targetCompatibility = jvmTargetVersion

View File

@ -255,7 +255,6 @@ class CacheController {
* update the CourseList every 24h, the Timetables every 3h and the Mensa Menu every hour
* doesn't account the change between winter and summer time!
*/
@OptIn(ExperimentalTime::class)
private fun scheduledUpdates() {
val currentTime = System.currentTimeMillis()