mill.kotlinlib.ksp

Members list

Type members

Classlikes

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

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
@Scaladoc(value = "/**\n * Trait for KSP (Kotlin Symbol Processing) modules.\n *\n * To use KSP 2, which supports Kotlin 2.0 and later, use `def ksmModuleMode = Ksp2Cli`.\n * KSP 2 Documentation: https://github.com/google/ksp/blob/main/docs/ksp2cmdline.md\n *\n * For the older KSP 1 which supports Kotlin language versions up to 1.9, use `def kspModuleMode = Ksp1`.\n * For KSP 1, the use of kotlin-compiler-embedded is also recommended (and thus enabled by default)\n * to avoid any classpath conflicts between the compiler and user defined plugins!\n * You can also use KspModuleMode.Ksp1 with Kotlin 2.x,\n * but you will need to set the kspLanguageVersion to 1.9 or earlier.\n */")
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

Supertypes
trait KotlinModule
trait KotlinModuleApi
trait JavaModule
trait JavaModuleApi
trait AssemblyModule
trait SemanticDbJavaModule
trait SemanticDbJavaModuleApi
trait OfflineSupportModule
trait GenIdeaModule
trait GenIdeaModuleApi
trait RunModule
trait RunModuleApi
trait DefaultTaskModule
trait JavaModuleBase
trait BspModule
trait BspModuleApi
trait WithJvmWorkerModule
trait JavaHomeModule
trait CoursierModule
trait Module
trait ModuleApi
trait Wrapper
class BaseClass
trait Cacher
trait Cacher
class Object
trait Matchable
class Any
Show all
Known subtypes
trait KspTests
Self type

Attributes

Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
trait KspWorkerModule extends Module

Attributes

Companion
object
Supertypes
trait Module
trait ModuleApi
trait Wrapper
class BaseClass
trait Cacher
trait Cacher
class Object
trait Matchable
class Any
Show all
Known subtypes
object KspWorkerModule extends ExternalModule, KspWorkerModule

Attributes

Companion
trait
Supertypes
class ExternalModule
class RootModule0
trait BaseModuleApi
trait Module
trait ModuleApi
trait Wrapper
class BaseClass
trait Cacher
trait Cacher
class Object
trait Matchable
class Any
Show all
Self type