[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() {
|
override fun produceKotlinLibrary() {
|
||||||
produceByFlags(PRODUCE_UNZIPPED_KLIB)
|
produceByFlags()
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun produceJs() {
|
override fun produceJs() {
|
||||||
produceByFlags(PRODUCE_UNZIPPED_KLIB)
|
produceByFlags()
|
||||||
|
|
||||||
configureMain()
|
configureMain()
|
||||||
}
|
}
|
||||||
@@ -73,7 +73,7 @@ abstract class KotlinJsIrSubTarget(
|
|||||||
.matching { it.name == KotlinCompilation.TEST_COMPILATION_NAME }
|
.matching { it.name == KotlinCompilation.TEST_COMPILATION_NAME }
|
||||||
.all {
|
.all {
|
||||||
it.kotlinOptions {
|
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 {
|
it.compileKotlinTask.kotlinOptions {
|
||||||
configureOptions()
|
configureOptions()
|
||||||
|
|
||||||
freeCompilerArgs += DISABLE_PRE_IR
|
freeCompilerArgs += listOf(
|
||||||
|
DISABLE_PRE_IR,
|
||||||
|
PRODUCE_UNZIPPED_KLIB
|
||||||
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
it.productionLinkTask.configure()
|
it.productionLinkTask.configure()
|
||||||
|
|||||||
Reference in New Issue
Block a user