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

Link copied to clipboard
@get:Internal(value = "Not an input, just passed as kapt args. ")
abstract val kaptClasspath: ConfigurableFileCollection

Allows adding artifacts (accepted by JVM classpath) containing implementation of Java annotation processor.

Link copied to clipboard

The directory where generated stubs can be found.