Skip to content

Commit 48984fb

Browse files
committed
Maven: Support "javaParameters" tag in Kotlin/JVM configurations (181)
1 parent 4819fc3 commit 48984fb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

idea/idea-maven/src/org/jetbrains/kotlin/idea/maven/KotlinMavenImporter.kt.181

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,7 @@ class KotlinMavenImporter : MavenImporter(KOTLIN_PLUGIN_GROUP_ID, KOTLIN_PLUGIN_
203203
arguments.jdkHome = configuration?.getChild("jdkHome")?.text
204204
arguments.jvmTarget = configuration?.getChild("jvmTarget")?.text ?:
205205
mavenProject.properties["kotlin.compiler.jvmTarget"]?.toString()
206+
arguments.javaParameters = configuration?.getChild("javaParameters")?.text?.toBoolean() ?: false
206207
}
207208
is K2JSCompilerArguments -> {
208209
arguments.sourceMap = configuration?.getChild("sourceMap")?.text?.trim()?.toBoolean() ?: false

0 commit comments

Comments
 (0)