You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I'm specifying the vendor in gradle.properties. Then reading that value in my gradle build files.
val jvmToolchainVersion: String by project
val jvmToolchainVendor: String by project
kotlin {
jvmToolchain(jvmToolchainVersion.toInt())
jvmToolchain {
languageVersion = JavaLanguageVersion.of(jvmToolchainVersion.toInt())
vendor = JvmVendorSpec.matching(jvmToolchainVendor)
}
}
This fails with the following message:
🔔 Unrecognized JVM vendor vendor matching('jetbrains') in Gradle build. No JDK has been imported, please do it manually.
❌ Task failed: Linux App for Intel: JAR files were imported but no JVM inputs were supplied for 'linux.amd64.glibc'.
It's simple enough to workaround this by specifying the JVM in the conveyor config.
The text was updated successfully, but these errors were encountered:
OK, this is indeed a bug in the Gradle plugin. We're expecting a literal specification of the vendor, but what you're providing is a filter. I guess we'd need to apply the filter to each known vendor in turn and select the first that matches. It should be easy to work around on your side for now with a bit of extra code.
Describe the bug
I'm specifying the vendor in
gradle.properties
. Then reading that value in my gradle build files.This fails with the following message:
It's simple enough to workaround this by specifying the JVM in the conveyor config.
The text was updated successfully, but these errors were encountered: