Merge pull request 'Remove -Xopt-in compiler argument' (#27) from opt-out into master

Reviewed-on: #27
This commit is contained in:
Jannik 2023-04-05 11:06:34 +02:00
commit 0f59fb51b4
2 changed files with 0 additions and 2 deletions

View File

@ -33,7 +33,6 @@ test {
def jvmTargetVersion = "11" def jvmTargetVersion = "11"
compileKotlin { compileKotlin {
kotlinOptions.jvmTarget = jvmTargetVersion kotlinOptions.jvmTarget = jvmTargetVersion
kotlinOptions.freeCompilerArgs += "-Xopt-in=kotlin.RequiresOptIn"
} }
compileJava { compileJava {
targetCompatibility = jvmTargetVersion 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 * 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! * doesn't account the change between winter and summer time!
*/ */
@OptIn(ExperimentalTime::class)
private fun scheduledUpdates() { private fun scheduledUpdates() {
val currentTime = System.currentTimeMillis() val currentTime = System.currentTimeMillis()