Use lazy query for KGP test SourceSet output.

This commit is contained in:
Yahor Berdnikau
2021-03-10 17:52:19 +01:00
committed by TeamCityServer
parent 7e7552bf5d
commit 3f953bcdfc
@@ -11,11 +11,11 @@ pill {
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 {
testImplementation(project(":kotlin-gradle-plugin"))
testImplementation(kotlinGradlePluginTest.output)
testImplementation(kotlinGradlePluginTest)
testImplementation(project(":kotlin-gradle-subplugin-example"))
testImplementation(project(":kotlin-allopen"))
testImplementation(project(":kotlin-noarg"))