Package org.jetbrains.kotlin.gradle.dsl
Interface KotlinJsDceCompilerToolOptions
-
- All Implemented Interfaces:
-
org.jetbrains.kotlin.gradle.dsl.KotlinCommonCompilerToolOptions
@Deprecated(message = "The DCE tool is obsolete and does not work with the IR compiler. The IR compiler supports dead code elimination of ouf the box. It is enabled by default when compiling for production and disabled when compiling for development. DCE roots can be specified by annotating root declarations with the '@JsExport' annotation", level = DeprecationLevel.ERROR) public interface KotlinJsDceCompilerToolOptions implements KotlinCommonCompilerToolOptions
Options for the Kotlin JavaScript dead code elimination tool.
-
-
Method Summary
Modifier and Type Method Description abstract Property<Boolean>getDevMode()Development mode: don't strip out any code, just copy dependencies. -
Methods inherited from class org.jetbrains.kotlin.gradle.dsl.KotlinCommonCompilerToolOptions
getAllWarningsAsErrors, getFreeCompilerArgs, getSuppressWarnings, getVerbose -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getDevMode
@Input() abstract Property<Boolean> getDevMode()
Development mode: don't strip out any code, just copy dependencies.
Default value: false
-
-
-
-