[MPP] Use assemble instead of resolving all configurations
We expect that some configurations might fail to resolve in the case of stdlib-js dependency if they are resolved explicitly. These configurations should not actually resolve for the KGP user. ^KT-60901 ^KT-61126
This commit is contained in:
committed by
Space Team
parent
db1ee743ae
commit
78e09816e5
+8
-1
@@ -8,6 +8,7 @@ package org.jetbrains.kotlin.gradle
|
||||
import org.gradle.util.GradleVersion
|
||||
import org.jetbrains.kotlin.gradle.util.*
|
||||
import org.junit.Test
|
||||
import java.io.File
|
||||
import kotlin.test.assertTrue
|
||||
|
||||
class VariantAwareDependenciesMppIT : BaseGradleIT() {
|
||||
@@ -232,7 +233,13 @@ class VariantAwareDependenciesMppIT : BaseGradleIT() {
|
||||
}
|
||||
""".trimIndent()
|
||||
)
|
||||
testResolveAllConfigurations("sample-lib")
|
||||
|
||||
build(
|
||||
"assemble",
|
||||
projectDir = File(workingDir, "sample-lib"),
|
||||
) {
|
||||
assertSuccessful()
|
||||
}
|
||||
}
|
||||
|
||||
@Test
|
||||
|
||||
Reference in New Issue
Block a user