[Gradle] Test buildKotlinToolingMetadata with configuration cache
^KT-52694
This commit is contained in:
+1
-1
@@ -61,13 +61,13 @@ class ConfigurationCacheIT : AbstractConfigurationCacheIT() {
|
|||||||
@MppGradlePluginTests
|
@MppGradlePluginTests
|
||||||
@DisplayName("works with MPP publishing")
|
@DisplayName("works with MPP publishing")
|
||||||
@GradleTest
|
@GradleTest
|
||||||
@OptIn(ExperimentalStdlibApi::class)
|
|
||||||
fun testMppWithMavenPublish(gradleVersion: GradleVersion) {
|
fun testMppWithMavenPublish(gradleVersion: GradleVersion) {
|
||||||
project("new-mpp-lib-and-app/sample-lib", gradleVersion) {
|
project("new-mpp-lib-and-app/sample-lib", gradleVersion) {
|
||||||
// KT-49933: Support Gradle Configuration caching with HMPP
|
// KT-49933: Support Gradle Configuration caching with HMPP
|
||||||
val publishedTargets = listOf(/*"kotlinMultiplatform",*/ "jvm6", "nodeJs")
|
val publishedTargets = listOf(/*"kotlinMultiplatform",*/ "jvm6", "nodeJs")
|
||||||
|
|
||||||
testConfigurationCacheOf(
|
testConfigurationCacheOf(
|
||||||
|
":buildKotlinToolingMetadata", // Remove it when KT-49933 is fixed and `kotlinMultiplatform` publication works
|
||||||
*(publishedTargets.map { ":publish${it.replaceFirstChar { it.uppercaseChar() }}PublicationToMavenRepository" }.toTypedArray()),
|
*(publishedTargets.map { ":publish${it.replaceFirstChar { it.uppercaseChar() }}PublicationToMavenRepository" }.toTypedArray()),
|
||||||
checkUpToDateOnRebuild = false
|
checkUpToDateOnRebuild = false
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user