KSP
repositories {
mavenCentral()
// Kord Snapshots Repository (Optional):
maven("https://oss.sonatype.org/content/repositories/snapshots")
}
dependencies {
implementation("dev.kord.codegen:ksp:main-SNAPSHOT")
}
repositories {
mavenCentral()
// Kord Snapshots Repository (Optional):
maven {
url "https://oss.sonatype.org/content/repositories/snapshots"
}
}
dependencies {
implementation("dev.kord.codegen:ksp:main-SNAPSHOT")
}
<dependency>
<groupId>dev.kord.codegen</groupId>
<artifactId>ksp</artifactId>
<version>main-SNAPSHOT</version>
</dependency>
Kord Snapshot Repository (Optional)
<repository>
<id>snapshots-repo</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
Utilities
The KSP module offers a bunch of utilities documented here
Annotation Argument API
The KSP module offers a type safe way to access annotation arguments, read more here
Annotation Argument Processor
There also is a annotation processor for easier use of the Annotation Argument API, described here
Last modified: 12 September 2023