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
This is about supporting the rich Kotlin DSL script editor in IntelliJ projects that are not JVM based, e.g. python, javascript, native ...
Expected Behavior
Editing a .gradle.kts script in IntelliJ IDEs in a Gradle project that is not JVM based, iow where the Project SDK isn't a JVM, should work in the same way as with JVM based projects.
Current Behavior
Non JVM based IntelliJ IDEs don't support the rich Kotlin DSL script editor for .gradle.kts files when the Project SDK is not a JVM.
Implementation notes
This will require coordinated changes to both the Kotlin IntelliJ Plugin and Gradle.
This is about supporting the rich Kotlin DSL script editor in IntelliJ projects that are not JVM based, e.g. python, javascript, native ...
Expected Behavior
Editing a
.gradle.kts
script in IntelliJ IDEs in a Gradle project that is not JVM based, iow where the Project SDK isn't a JVM, should work in the same way as with JVM based projects.Current Behavior
Non JVM based IntelliJ IDEs don't support the rich Kotlin DSL script editor for
.gradle.kts
files when the Project SDK is not a JVM.Implementation notes
This will require coordinated changes to both the Kotlin IntelliJ Plugin and Gradle.
First, https://youtrack.jetbrains.com/issue/KT-31152 need to be fixed in a released Kotlin version.
Then our
KotlinBuildScriptDependenciesResolver
need to relay thejavaHome
environment in the returned script dependencies.For more details, see the original report gradle/kotlin-dsl-samples#1354.
A previous attempt was made in Gradle 5.4 #8756 but it made that Kotlin issue linked above very visible, hence reverted in Gradle 5.4.1 #9195
The text was updated successfully, but these errors were encountered: