diff --git a/build.gradle.kts b/build.gradle.kts index 65a9131..e55150f 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -1,5 +1,3 @@ -import org.jetbrains.kotlin.gradle.tasks.KotlinCompile - val idofrontVersion: String by project plugins { @@ -47,14 +45,12 @@ allprojects { testImplementation(libs.bundles.idofront.core) } - tasks { - withType { - kotlinOptions { - freeCompilerArgs += listOf( - "-opt-in=kotlinx.serialization.ExperimentalSerializationApi", - "-opt-in=kotlin.ExperimentalUnsignedTypes", - ) - } + kotlin { + compilerOptions { + freeCompilerArgs.addAll( + "-opt-in=kotlinx.serialization.ExperimentalSerializationApi", + "-opt-in=kotlin.ExperimentalUnsignedTypes", + ) } } } diff --git a/gradle.properties b/gradle.properties index 1714c82..d11fa49 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,5 +1,5 @@ kotlin.code.style=official group=com.mineinabyss version=0.30 -idofrontVersion=0.24.0-dev.9 -gearyVersion=0.26.0-dev.27 +idofrontVersion=0.24.0 +gearyVersion=0.26.0