Sorry if it's a stupid question, but how can I spe...
# gradle
u
Sorry if it's a stupid question, but how can I specify, in my
build.gradle.kts
, that I want to target JVM 10?
g
For java project?
u
Yes
g
You need something like that:
Copy code
plugins {
   java
}
java {
   sourceCompatibility = JavaVersion.VERSION_1_10
   targetCompatibility = JavaVersion.VERSION_1_10
}
👍 1
c
You specify 10 in
java { }
, but 1.8 in
kotlin*Compile
configuration
u
Thanks!