-
- All Implemented Interfaces:
-
org.jetbrains.kotlin.gradle.dsl.KotlinCommonOptions,org.jetbrains.kotlin.gradle.dsl.KotlinCommonToolOptions,org.jetbrains.kotlin.gradle.dsl.KotlinJsOptions
public final class KotlinJsOptionsCompat implements KotlinJsOptionsTemporary workaround for external plugins that tries to set up freeCompilerArgs in task execution phase.
-
-
Field Summary
Fields Modifier and Type Field Description private List<String>freeCompilerArgsprivate final KotlinJsCompilerOptionsoptionsprivate BooleanallWarningsAsErrorsprivate StringapiVersionprivate BooleanfriendModulesDisabledprivate StringlanguageVersionprivate Stringmainprivate BooleanmetaInfoprivate StringmoduleKindprivate StringmoduleNameprivate BooleannoStdlibprivate StringoutputFileprivate BooleansourceMapprivate StringsourceMapEmbedSourcesprivate StringsourceMapNamesPolicyprivate StringsourceMapPrefixprivate BooleansuppressWarningsprivate Stringtargetprivate BooleantypedArraysprivate BooleanuseK2private Booleanverbose
-
Constructor Summary
Constructors Constructor Description KotlinJsOptionsCompat(Function0<Kotlin2JsCompile> task, KotlinJsCompilerOptions options)
-
Method Summary
Modifier and Type Method Description List<String>getFreeCompilerArgs()UnitsetFreeCompilerArgs(List<String> freeCompilerArgs)KotlinJsCompilerOptionsgetOptions()-
Methods inherited from class org.jetbrains.kotlin.gradle.dsl.KotlinCommonToolOptions
getAllWarningsAsErrors, getSuppressWarnings, getVerbose, setAllWarningsAsErrors, setSuppressWarnings, setVerbose -
Methods inherited from class org.jetbrains.kotlin.gradle.dsl.KotlinCommonOptions
getApiVersion, getLanguageVersion, getUseK2, setApiVersion, setLanguageVersion, setUseK2 -
Methods inherited from class org.jetbrains.kotlin.gradle.dsl.KotlinJsOptions
getFriendModulesDisabled, getMain, getMetaInfo, getModuleKind, getModuleName, getNoStdlib, getOutputFile, getSourceMap, getSourceMapEmbedSources, getSourceMapNamesPolicy, getSourceMapPrefix, getTarget, getTypedArrays, setFriendModulesDisabled, setMain, setMetaInfo, setModuleKind, setModuleName, setNoStdlib, setOutputFile, setSourceMap, setSourceMapEmbedSources, setSourceMapNamesPolicy, setSourceMapPrefix, setTarget, setTypedArrays -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
KotlinJsOptionsCompat
KotlinJsOptionsCompat(Function0<Kotlin2JsCompile> task, KotlinJsCompilerOptions options)
-
-
Method Detail
-
getFreeCompilerArgs
List<String> getFreeCompilerArgs()
-
setFreeCompilerArgs
Unit setFreeCompilerArgs(List<String> freeCompilerArgs)
-
getOptions
KotlinJsCompilerOptions getOptions()
-
-
-
-