Package org.jetbrains.kotlin.gradle.dsl
Interface KotlinJsDceOptions
-
- All Implemented Interfaces:
-
org.jetbrains.kotlin.gradle.dsl.KotlinCommonToolOptions
@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 KotlinJsDceOptions implements KotlinCommonToolOptions
Options for the Kotlin JavaScript dead code elimination tool.
-
-
Method Summary
Modifier and Type Method Description BooleangetDevMode()UnitsetDevMode(Boolean devMode)-
Methods inherited from class org.jetbrains.kotlin.gradle.dsl.KotlinCommonToolOptions
getAllWarningsAsErrors, getFreeCompilerArgs, getSuppressWarnings, getVerbose, setAllWarningsAsErrors, setFreeCompilerArgs, setSuppressWarnings, setVerbose -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getDevMode
Boolean getDevMode()
-
setDevMode
Unit setDevMode(Boolean devMode)
-
-
-
-