Hey I was wondering how I enable Kotlin 1.7.20 fea...
# getting-started
t
Hey I was wondering how I enable Kotlin 1.7.20 features? I set my JVM version to 1.7.20 in the gradle build
Copy code
kotlin("jvm") version "1.7.20"
Trying to use data objects but run into this error
The feature "data objects" is only available since language version 1.8
, thanks in advance.
s
or via gradle
Copy code
tasks.withType<KotlinCompile> {
	kotlinOptions {
		languageVersion = "1.8"
	}
}
e
which was also linked in the previous thread