This message was deleted.
# community-support
s
This message was deleted.
j
AFAIK in Kotlin you can still use
jvmTarget
p
But does that define the JVM version for the library or the project on my computer ?
j
library
p
Thanks for the information !
😄 1
t
IIRC, make sure you also configure the
java.targetCompatibility
to get the appropriate
org.gradle.jvm.version
attribute value in the Gradle Module Metadata published with your library (https://docs.gradle.org/current/userguide/variant_attributes.html#sub:jvm_default_attributes)
j
isn’t kotlin doing that too?
t
I've had the problem with a Gradle plugin written in Kotlin (and
kotlin-dsl
sets the
jvmTarget
, at least in Gradle < 8 ), so better double check.
👍 1