[Gradle, JS] Check if not both compiler
This commit is contained in:
+2
-2
@@ -136,7 +136,7 @@ constructor(
|
|||||||
project.objects.newInstance(KotlinBrowserJs::class.java, this).also {
|
project.objects.newInstance(KotlinBrowserJs::class.java, this).also {
|
||||||
it.configure()
|
it.configure()
|
||||||
|
|
||||||
if (PropertiesProvider(project).jsGenerateExecutableDefault) {
|
if (PropertiesProvider(project).jsGenerateExecutableDefault && irTarget == null) {
|
||||||
binaries.executable()
|
binaries.executable()
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -163,7 +163,7 @@ constructor(
|
|||||||
project.objects.newInstance(KotlinNodeJs::class.java, this).also {
|
project.objects.newInstance(KotlinNodeJs::class.java, this).also {
|
||||||
it.configure()
|
it.configure()
|
||||||
|
|
||||||
if (PropertiesProvider(project).jsGenerateExecutableDefault) {
|
if (PropertiesProvider(project).jsGenerateExecutableDefault && irTarget == null) {
|
||||||
binaries.executable()
|
binaries.executable()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user