[Gradle, JS] Flags with producing unzipped klib is by default
This commit is contained in:
+3
-3
@@ -57,11 +57,11 @@ abstract class KotlinJsIrSubTarget(
|
||||
}
|
||||
|
||||
override fun produceKotlinLibrary() {
|
||||
produceByFlags(PRODUCE_UNZIPPED_KLIB)
|
||||
produceByFlags()
|
||||
}
|
||||
|
||||
override fun produceJs() {
|
||||
produceByFlags(PRODUCE_UNZIPPED_KLIB)
|
||||
produceByFlags()
|
||||
|
||||
configureMain()
|
||||
}
|
||||
@@ -73,7 +73,7 @@ abstract class KotlinJsIrSubTarget(
|
||||
.matching { it.name == KotlinCompilation.TEST_COMPILATION_NAME }
|
||||
.all {
|
||||
it.kotlinOptions {
|
||||
freeCompilerArgs += listOf(PRODUCE_UNZIPPED_KLIB, PRODUCE_JS)
|
||||
freeCompilerArgs += PRODUCE_JS
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+4
-1
@@ -61,7 +61,10 @@ open class KotlinJsIrTargetConfigurator(kotlinPluginVersion: String) :
|
||||
it.compileKotlinTask.kotlinOptions {
|
||||
configureOptions()
|
||||
|
||||
freeCompilerArgs += DISABLE_PRE_IR
|
||||
freeCompilerArgs += listOf(
|
||||
DISABLE_PRE_IR,
|
||||
PRODUCE_UNZIPPED_KLIB
|
||||
)
|
||||
}
|
||||
|
||||
it.productionLinkTask.configure()
|
||||
|
||||
Reference in New Issue
Block a user