[Gradle] Add documentation on IdeaKotlinProjectArtifactDependency.artifactsClasspath
^KT-55475 Verification Pending
This commit is contained in:
committed by
Space Team
parent
aed8c323e4
commit
e19d5768e2
+8
@@ -12,4 +12,12 @@ import org.jetbrains.kotlin.tooling.core.lazyProperty
|
||||
|
||||
val projectArtifactsClasspathKey = extrasKeyOf<IdeaKotlinClasspath>("artifactsClasspath")
|
||||
|
||||
/**
|
||||
* Classpath used inside IntelliJ/Kotlin to figure out the set of SourceSets that this dependency represents.
|
||||
* The files contained here are the actual dependencies for a compilation.
|
||||
* The dependency project's import will know about which SourceSets produced these artifacts which enables
|
||||
* IntelliJ/Kotlin to resolve the SourceSets it needs to depend on.
|
||||
*
|
||||
* Note: Plugins like Android might use custom/different approaches on how to resolve this [IdeaKotlinProjectArtifactDependency]
|
||||
*/
|
||||
val IdeaKotlinProjectArtifactDependency.artifactsClasspath by projectArtifactsClasspathKey.lazyProperty { IdeaKotlinClasspath() }
|
||||
Reference in New Issue
Block a user