Interface KotlinToolTask
-
- All Implemented Interfaces:
-
kotlin.Comparable,org.gradle.api.Task,org.gradle.api.plugins.ExtensionAware
@KotlinGradlePluginDsl() public interface KotlinToolTask<TO extends KotlinCommonCompilerToolOptions> implements Task
Represents a Kotlin task performing further processing of compiled code via additional Kotlin tools using configurable toolOptions.
Check KotlinCommonCompilerToolOptions inheritors (excluding KotlinCommonCompilerToolOptions) for the possible configuration options.
-
-
Method Summary
Modifier and Type Method Description UnittoolOptions(Function1<TO, Unit> configure)Configures the toolOptions with the provided configuration. UnittoolOptions(Action<in TO> configure)Configures the toolOptions with the provided configuration. abstract TOgetToolOptions()Represents the tool options used by a Kotlin task with reasonable configured defaults. -
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
-
toolOptions
Unit toolOptions(Function1<TO, Unit> configure)
Configures the toolOptions with the provided configuration.
-
toolOptions
Unit toolOptions(Action<in TO> configure)
Configures the toolOptions with the provided configuration.
-
getToolOptions
abstract TO getToolOptions()
Represents the tool options used by a Kotlin task with reasonable configured defaults.
Could be used to either get the values of currently configured options or to modify them.
-
-
-
-