Remove jdk-release

This commit is contained in:
Alexander Nozik 2022-08-24 18:24:02 +03:00
parent 187b8e8076
commit 362d7a4042
No known key found for this signature in database
GPG Key ID: F7FCF2DD25C71357
2 changed files with 2 additions and 1 deletions

View File

@ -20,6 +20,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- FX configuration
### Removed
- Xjdk-release flag because it is broken until https://youtrack.jetbrains.com/issue/KT-52823
### Fixed

View File

@ -17,7 +17,7 @@ import space.kscience.gradle.internal.fromJsDependencies
private val defaultKotlinJvmArgs: List<String> =
listOf("-Xjvm-default=all", "-Xlambdas=indy", "-Xjdk-release=${KScienceVersions.JVM_TARGET}")
listOf("-Xjvm-default=all", "-Xlambdas=indy"/* "-Xjdk-release=${KScienceVersions.JVM_TARGET}"*/)
private fun resolveKotlinVersion(): KotlinVersion {
val (major, minor, patch) = KScienceVersions.kotlinVersion.split(".", "-")