Package-level declarations

Types

Link copied to clipboard
class Ksp2PrecursorTool : PrecursorTool, KspTool
Link copied to clipboard
sealed interface KspTool

Properties

Link copied to clipboard
var KotlinCompilation.kspAllWarningsAsErrors: Boolean

Controls for enabling all warnings as errors in KSP.

Link copied to clipboard
var KotlinCompilation.kspIncremental: Boolean

Controls for enabling incremental processing in KSP.

Link copied to clipboard
var KotlinCompilation.kspIncrementalLog: Boolean

Controls for enabling incremental processing logs in KSP.

Link copied to clipboard
var KotlinCompilation.kspLoggingLevels: Set<CompilerMessageSeverity>

Sets logging levels for KSP. Default is all.

Link copied to clipboard
var KotlinCompilation.kspProcessorOptions: MutableMap<String, String>

Arbitrary processor options to be passed to ksp

Link copied to clipboard
val KotlinCompilation.kspSourcesDir: File

The directory where generated KSP sources are written

Link copied to clipboard
var KotlinCompilation.kspWithCompilation: Boolean

Run processors and compilation in a single compiler invocation if true. See com.google.devtools.ksp.KspCliOption.WITH_COMPILATION_OPTION.

Link copied to clipboard
Link copied to clipboard
var KotlinCompilation.symbolProcessorProviders: MutableList<SymbolProcessorProvider>

The list of symbol processors for the kotlin compilation. https://goo.gle/ksp

Functions

Link copied to clipboard
fun KotlinCompilation.configureKsp(body: KspTool.() -> Unit)

Configure the given KSP tool for this compilation.

Link copied to clipboard
fun KotlinCompilation.useKsp2()

Enables KSP2.