mill.kotlinlib.ksp

Members list

Type members

Classlikes

case class GeneratedKspSources(java: PathRef, kotlin: PathRef, resources: PathRef, classes: PathRef)

Attributes

Source
GeneratedKspSources.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
trait KspModule extends KotlinModule

Trait for KSP (Kotlin Symbol Processing) modules.

Trait for KSP (Kotlin Symbol Processing) modules.

To use KSP 2, which supports Kotlin 2.0 and later, use def ksmModuleMode = Ksp2Cli. KSP 2 Documentation: https://github.com/google/ksp/blob/main/docs/ksp2cmdline.md

For the older KSP 1 which supports Kotlin language versions up to 1.9, use def kspModuleMode = Ksp1. For KSP 1, the use of kotlin-compiler-embedded is also recommended (and thus enabled by default) to avoid any classpath conflicts between the compiler and user defined plugins! You can also use KspModuleMode.Ksp1 with Kotlin 2.x, but you will need to set the kspLanguageVersion to 1.9 or earlier.

Attributes

Source
KspModule.scala
Supertypes
trait KotlinModule
trait JavaModule
trait RunModule
trait RunModuleApi
trait BspModule
trait BspModuleApi
trait Module
trait ModuleApi
trait Wrapper
class BaseClass
trait Cacher
trait Cacher
class Object
trait Matchable
class Any
Show all
Known subtypes
Self type

Attributes

Source
KspModuleMode.scala
Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
trait KspWorkerModule extends Module

Attributes

Companion
object
Source
KspWorkerModule.scala
Supertypes
trait Module
trait ModuleApi
trait Wrapper
class BaseClass
trait Cacher
trait Cacher
class Object
trait Matchable
class Any
Show all
Known subtypes

Attributes

Companion
trait
Source
KspWorkerModule.scala
Supertypes
class RootModule0
trait Module
trait ModuleApi
trait Wrapper
class BaseClass
trait Cacher
trait Cacher
class Object
trait Matchable
class Any
Show all
Self type