Remove -Xopt-in compiler argument
We don't need to opt in to the experimental Time class any longer.
This commit is contained in:
parent
9f8ca744bc
commit
97f32069fa
|
@ -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()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue