Remove -Xopt-in compiler argument
We don't need to opt in to the experimental Time class any longer.
This commit is contained in:
		| @ -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 | ||||||
|  | |||||||
| @ -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() | ||||||
|  |  | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user