Use lazy query for KGP test SourceSet output.
This commit is contained in:
committed by
TeamCityServer
parent
7e7552bf5d
commit
3f953bcdfc
@@ -11,11 +11,11 @@ pill {
|
|||||||
variant = PillExtension.Variant.FULL
|
variant = PillExtension.Variant.FULL
|
||||||
}
|
}
|
||||||
|
|
||||||
val kotlinGradlePluginTest = project(":kotlin-gradle-plugin").sourceSets.getByName("test")
|
val kotlinGradlePluginTest = project(":kotlin-gradle-plugin").sourceSets.named("test").map { it.output }
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
testImplementation(project(":kotlin-gradle-plugin"))
|
testImplementation(project(":kotlin-gradle-plugin"))
|
||||||
testImplementation(kotlinGradlePluginTest.output)
|
testImplementation(kotlinGradlePluginTest)
|
||||||
testImplementation(project(":kotlin-gradle-subplugin-example"))
|
testImplementation(project(":kotlin-gradle-subplugin-example"))
|
||||||
testImplementation(project(":kotlin-allopen"))
|
testImplementation(project(":kotlin-allopen"))
|
||||||
testImplementation(project(":kotlin-noarg"))
|
testImplementation(project(":kotlin-noarg"))
|
||||||
|
|||||||
Reference in New Issue
Block a user