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.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      Boolean getDevMode()
      Unit setDevMode(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