[Gradle] Add documentation on IdeaKotlinProjectArtifactDependency.artifactsClasspath

^KT-55475 Verification Pending
This commit is contained in:
Sebastian Sellmair
2022-12-16 10:56:34 +01:00
committed by Space Team
parent aed8c323e4
commit e19d5768e2
@@ -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() }