Revert "fix: restore Kotlin language version to 2.1"

Anvil doesn't work unless this is pinned to Kotlin 1.9

This reverts commit 455b9e5f48.
This commit is contained in:
Harsh Shandilya 2025-06-26 20:39:34 +05:30
parent 455b9e5f48
commit b9bef05475

View file

@ -14,7 +14,6 @@ import org.gradle.api.tasks.testing.logging.TestLogEvent
import org.gradle.jvm.toolchain.JavaLanguageVersion
import org.gradle.jvm.toolchain.JavaToolchainSpec
import org.gradle.kotlin.dsl.withType
import org.jetbrains.kotlin.gradle.dsl.KotlinVersion
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
@Suppress("Unused", "UnstableApiUsage")
@ -31,7 +30,6 @@ class KotlinCommonPlugin : Plugin<Project> {
compilerOptions {
allWarningsAsErrors.set(project.providers.environmentVariable("CI").isPresent)
freeCompilerArgs.addAll(ADDITIONAL_COMPILER_ARGS)
languageVersion.set(KotlinVersion.KOTLIN_2_1)
}
}
withType<Test>().configureEach {