Interface Kapt

  • All Implemented Interfaces:
    kotlin.Comparable , org.gradle.api.Task , org.gradle.api.plugins.ExtensionAware , org.jetbrains.kotlin.gradle.tasks.BaseKapt , org.jetbrains.kotlin.gradle.tasks.UsesKotlinJavaToolchain

    
    public interface Kapt
     implements BaseKapt
                        

    Represents a BaseKapt task whose implementation is running Kotlin/Kapt directly (without using the Kotlin compiler).

    • 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
      abstract Property<Boolean> getAddJdkClassesToClasspath() Add JDK classes to the BaseKapt.classpath.
      abstract ConfigurableFileCollection getKaptJars() The file collection that contains org.jetbrains.kotlin:kotlin-annotation-processing-gradle and kotlin-stdlib artifacts that are used to run annotation processing.
      • 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 org.jetbrains.kotlin.gradle.tasks.BaseKapt

        getAnnotationProcessorOptionProviders, getClassesDir, getClasspath, getCompiledSources, getDefaultJavaSourceCompatibility, getDestinationDir, getIncAptCache, getIncludeCompileClasspath, getKaptClasspath, getKaptClasspathConfigurationNames, getKotlinSourcesDestinationDir, getSource, getSourceSetName, getStubsDir
      • Methods inherited from class org.jetbrains.kotlin.gradle.tasks.UsesKotlinJavaToolchain

        getKotlinJavaToolchain, getKotlinJavaToolchainProvider
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • getKaptJars

        @Classpath() abstract ConfigurableFileCollection getKaptJars()

        The file collection that contains org.jetbrains.kotlin:kotlin-annotation-processing-gradle and kotlin-stdlib artifacts that are used to run annotation processing.

        The artifacts' versions must be the same as the version of the Kotlin compiler used to compile the related Kotlin sources.