KaptGenerateStubs
Represents a Kotlin task that generates stubs from Java annotation processing results.
This task generates annotation processing output stubs (without the actual method implementations) using Java source code. These generated stubs can be referenced in Kotlin source code compilation before completing annotation processing.
This task is a part of Kotlin/Kapt.
Properties
Represents the compiler options used by a Kotlin compilation process.
The destination directory where the task artifact can be found.
Paths to the output directories of the friend modules whose internal declarations should be visible.
Controls JVM target validation mode between this task and the Java compilation task from Gradle for the same source set.
Allows adding artifacts (accepted by JVM classpath) containing implementation of Java annotation processor.
A helper shortcut to get KotlinJavaToolchain from kotlinJavaToolchainProvider without calling the .get()
method.
Kotlin task configured JVM toolchain.
Represents the compiler options used by a Kotlin compilation process.
Collection of external artifacts participating in the output artifact generation.
Enables the Kotlin Multiplatform flag for compilation.
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.
The configuration for the Kotlin compiler plugin added in pluginClasspath using CompilerPluginConfig.
The configured task inputs (for example, Kotlin sources) which are used to produce a task artifact.
Specifies the name of org.jetbrains.kotlin.gradle.plugin.KotlinSourceSet that is compiled.
The directory where generated stubs can be found.
Enable more granular tracking of inter-modules as part of incremental compilation. Useful in Android projects.
Functions
Configures the compilerOptions with the provided configuration.
Returns the set of exclude patterns.
Returns the set of include patterns.
Configures the kotlinOptions with the provided configuration.