Interface BaseKotlinCompile
-
- All Implemented Interfaces:
-
kotlin.Comparable
,org.gradle.api.Named
,org.gradle.api.Task
,org.gradle.api.plugins.ExtensionAware
,org.gradle.api.tasks.util.PatternFilterable
,org.jetbrains.kotlin.gradle.tasks.KotlinCompileTool
public interface BaseKotlinCompile implements KotlinCompileTool
Represents any Kotlin compilation task including common task inputs.
-
-
Method Summary
Modifier and Type Method Description abstract ConfigurableFileCollection
getFriendPaths()
Paths to the output directories of the friend modules whose internal declarations should be visible. abstract ConfigurableFileCollection
getPluginClasspath()
Kotlin compiler plugins artifacts , such as JAR or class files, that participate in the compilation process. abstract ListProperty<CompilerPluginConfig>
getPluginOptions()
The configuration for the Kotlin compiler plugin added in pluginClasspath using CompilerPluginConfig. abstract Property<String>
getSourceSetName()
Specifies the name of org.jetbrains.kotlin.gradle.plugin.KotlinSourceSet that is compiled. abstract Property<Boolean>
getMultiPlatformEnabled()
Enables the Kotlin Multiplatform flag for compilation. abstract Property<Boolean>
getUseModuleDetection()
Enable more granular tracking of inter-modules as part of incremental compilation. -
Methods inherited from class org.jetbrains.kotlin.gradle.tasks.KotlinCompileTool
getDestinationDirectory, getExcludes, getIncludes, getLibraries, getSources, setSource, source
-
Methods inherited from class org.gradle.api.tasks.util.PatternFilterable
exclude, exclude, exclude, exclude, include, include, include, include, setExcludes, setIncludes
-
Methods inherited from class kotlin.Comparable
compareTo
-
Methods inherited from class org.gradle.api.plugins.ExtensionAware
getExtensions
-
Methods inherited from class org.gradle.api.Task
configure, dependsOn, doFirst, doFirst, doFirst, doLast, doLast, doLast, doNotTrackState, finalizedBy, getActions, getAnt, getConvention, getDependsOn, getDescription, getDestroyables, getDidWork, getEnabled, getFinalizedBy, getGroup, getInputs, getLocalState, getLogger, getLogging, getMustRunAfter, getName, getOutputs, getPath, getProject, getShouldRunAfter, getState, getTaskDependencies, getTemporaryDir, getTimeout, hasProperty, mustRunAfter, notCompatibleWithConfigurationCache, onlyIf, onlyIf, onlyIf, property, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setFinalizedBy, setGroup, setMustRunAfter, setOnlyIf, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, usesService
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getFriendPaths
@Internal() abstract ConfigurableFileCollection getFriendPaths()
Paths to the output directories of the friend modules whose internal declarations should be visible.
-
getPluginClasspath
@Classpath() abstract ConfigurableFileCollection getPluginClasspath()
Kotlin compiler plugins artifacts , such as JAR or class files, that participate in the compilation process. All files that are permitted in the JVM classpath are permitted here.
-
getPluginOptions
abstract ListProperty<CompilerPluginConfig> getPluginOptions()
The configuration for the Kotlin compiler plugin added in pluginClasspath using CompilerPluginConfig.
-
getSourceSetName
@Internal() abstract Property<String> getSourceSetName()
Specifies the name of org.jetbrains.kotlin.gradle.plugin.KotlinSourceSet that is compiled.
-
getMultiPlatformEnabled
@Input() abstract Property<Boolean> getMultiPlatformEnabled()
Enables the Kotlin Multiplatform flag for compilation.
-
getUseModuleDetection
@Input() abstract Property<Boolean> getUseModuleDetection()
Enable more granular tracking of inter-modules as part of incremental compilation. Useful in Android projects.
-
-
-
-