diff --git a/build.gradle b/build.gradle index b44c88f..567cc4e 100644 --- a/build.gradle +++ b/build.gradle @@ -33,7 +33,6 @@ test { def jvmTargetVersion = "11" compileKotlin { kotlinOptions.jvmTarget = jvmTargetVersion - kotlinOptions.freeCompilerArgs += "-Xopt-in=kotlin.RequiresOptIn" } compileJava { targetCompatibility = jvmTargetVersion diff --git a/src/main/kotlin/org/mosad/thecitadelofricks/controller/CacheController.kt b/src/main/kotlin/org/mosad/thecitadelofricks/controller/CacheController.kt index 1683233..3a6db5d 100644 --- a/src/main/kotlin/org/mosad/thecitadelofricks/controller/CacheController.kt +++ b/src/main/kotlin/org/mosad/thecitadelofricks/controller/CacheController.kt @@ -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()