We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a9de0a9 commit 18fcea4Copy full SHA for 18fcea4
buildSrc/src/main/kotlin/io/spine/dependency/Dependency.kt
@@ -117,6 +117,16 @@ private fun ResolutionStrategy.forceWithLogging(
117
118
/**
119
* Obtains full Maven coordinates for the requested [module].
120
+ *
121
+ * This extension allows referencing properties of the [Dependency],
122
+ * upon which it is invoked.
123
124
+ * An example usage:
125
126
+ * ```
127
+ * // Supposing there is `Ksp.symbolProcessingApi: String` property declared.
128
+ * Ksp.artifact { symbolProcessingApi }
129
130
*/
131
fun <T : Dependency> T.artifact(module: T.() -> String): String =
132
artifact(module())
0 commit comments