fix(build): lower JVM compilation target to 17

Lint does not understand Java 20 classes yet
This commit is contained in:
Harsh Shandilya 2023-11-01 00:53:57 +05:30
parent 82b411ca7c
commit 5e711ad8ae
No known key found for this signature in database

View file

@ -47,6 +47,6 @@ class KotlinCommonPlugin : Plugin<Project> {
)
val JVM_TOOLCHAIN_ACTION =
Action<JavaToolchainSpec> { languageVersion.set(JavaLanguageVersion.of(20)) }
Action<JavaToolchainSpec> { languageVersion.set(JavaLanguageVersion.of(17)) }
}
}