diff --git a/build-logic/gradle.properties b/build-logic/gradle.properties new file mode 100644 index 00000000..4c971714 --- /dev/null +++ b/build-logic/gradle.properties @@ -0,0 +1,11 @@ +org.gradle.parallel=true +org.gradle.configureondemand=true +org.gradle.caching=true +org.gradle.configuration-cache=true +org.gradle.configuration-cache.problems=warn + +# Kotlin code style +kotlin.code.style=official + +# try K2 compiler +kotlin.experimental.tryK2=true diff --git a/build-logic/src/main/kotlin/io/github/reactivecircus/kstreamlined/buildlogic/LanguageSettings.kt b/build-logic/src/main/kotlin/io/github/reactivecircus/kstreamlined/buildlogic/LanguageSettings.kt index c2ded457..04806e7d 100644 --- a/build-logic/src/main/kotlin/io/github/reactivecircus/kstreamlined/buildlogic/LanguageSettings.kt +++ b/build-logic/src/main/kotlin/io/github/reactivecircus/kstreamlined/buildlogic/LanguageSettings.kt @@ -4,7 +4,6 @@ import org.jetbrains.kotlin.gradle.plugin.LanguageSettingsBuilder internal fun LanguageSettingsBuilder.applyLanguageSettings(): LanguageSettingsBuilder { return apply { - languageVersion = "1.8" progressiveMode = true optIn("kotlin.RequiresOptIn") }