Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Dependency notations for Kotlin Symbol Processing (KSP) #732

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions plugins/dependencies/src/main/kotlin/dependencies/Google.kt
Original file line number Diff line number Diff line change
Expand Up @@ -803,6 +803,30 @@ object Google : IsNotADependency {

}

/**
* Kotlin Symbol Processing (KSP) is an API that you can use to develop lightweight compiler plugins.
*
* [Official website](https://kotlinlang.org/docs/ksp-overview.html)
*
* GitHub page: [google/ksp](https://github.com/google/ksp)
*/
val ksp = KSP

object KSP : DependencyGroup(group = "com.google.devtools.ksp") {

/**
* Id of the plugin: "`com.google.devtools.ksp`"
*/
val gradlePlugin = module("symbol-processing-gradle-plugin")

/**
* KSP API
*
* Used when you want to [Create a processor of your own](https://kotlinlang.org/docs/ksp-quickstart.html#create-a-processor-of-your-own)
*/
val symbolProcessingApi = module("symbol-processing-api")
}

/**
* Machine learning for mobile developers
*
Expand Down
16 changes: 15 additions & 1 deletion plugins/dependencies/src/main/kotlin/dependencies/Square.kt
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,21 @@ object Square : IsNotADependency {
object KotlinPoet : DependencyNotationAndGroup(group = "com.squareup", name = "kotlinpoet") {

/**
* [Official webpage](https://square.github.io/kotlinpoet/kotlinpoet_metadata/)
* [Official webpage](https://square.github.io/kotlinpoet/interop-javapoet/)
*
* [API reference](https://square.github.io/kotlinpoet/1.x/interop-javapoet/)
*/
val javaPoet = module("kotlinpoet-javapoet")

/**
* [Official webpage](https://square.github.io/kotlinpoet/interop-ksp/)
*
* [API reference](https://square.github.io/kotlinpoet/1.x/interop-ksp/)
*/
val ksp = module("kotlinpoet-ksp")

/**
* [Official webpage](https://square.github.io/kotlinpoet/interop-kotlin-metadata/)
*
* [API reference](https://square.github.io/kotlinpoet/1.x/kotlinpoet-metadata/com.squareup.kotlinpoet.metadata/)
*/
Expand Down
Loading