-
- 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 CompilerJsOptionsoptionsprivate BooleanallWarningsAsErrorsprivate StringapiVersionprivate BooleanfriendModulesDisabledprivate StringlanguageVersionprivate Stringmainprivate BooleanmetaInfoprivate StringmoduleKindprivate StringmoduleNameprivate BooleannoStdlibprivate StringoutputFileprivate BooleansourceMapprivate StringsourceMapEmbedSourcesprivate StringsourceMapPrefixprivate BooleansuppressWarningsprivate Stringtargetprivate BooleantypedArraysprivate BooleanuseK2private Booleanverbose
-
Constructor Summary
Constructors Constructor Description KotlinJsOptionsCompat(Function0<Kotlin2JsCompile> task, CompilerJsOptions options)
-
Method Summary
Modifier and Type Method Description List<String>getFreeCompilerArgs()UnitsetFreeCompilerArgs(List<String> freeCompilerArgs)CompilerJsOptionsgetOptions()-
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, getSourceMapPrefix, getTarget, getTypedArrays, setFriendModulesDisabled, setMain, setMetaInfo, setModuleKind, setModuleName, setNoStdlib, setOutputFile, setSourceMap, setSourceMapEmbedSources, 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, CompilerJsOptions options)
-
-
Method Detail
-
getFreeCompilerArgs
List<String> getFreeCompilerArgs()
-
setFreeCompilerArgs
Unit setFreeCompilerArgs(List<String> freeCompilerArgs)
-
getOptions
CompilerJsOptions getOptions()
-
-
-
-