czuckie
12/09/2022, 2:17 PMallprojects {
...
tasks.withType<KotlinCompile> {
kotlinOptions {
freeCompilerArgs = listOf("-Xjsr305=strict")
jvmTarget = "11"
languageVersion = "1.9"
}
}
...
}
And IntelliJ lets me use data object
as expected, however when I go to compile or run anything I get:
The binary version of its metadata is 1.9.0, expected version is 1.7.1.
This is in a spring-boot project if any of the compiler plugins might not play nicely with 1.9Chris Lee
12/09/2022, 2:28 PMlanguageVersion
typically apiVersion
is also set.mbonnin
12/09/2022, 2:48 PMtapchicoma
12/09/2022, 3:42 PM