Skip to content

Commit 0d1f362

Browse files
h0tk3ySpace
authored and
Space
committed
Fix PureAndroidAndJavaConsumeMppLibIT working with test project
1 parent 46af453 commit 0d1f362

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/tools/kotlin-gradle-plugin-integration-tests/src/test/kotlin/org/jetbrains/kotlin/gradle/PureAndroidAndJavaConsumeMppLibIT.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ abstract class PureAndroidAndJavaConsumeMppLibIT : BaseGradleIT() {
172172
gradleBuildScript("Lib").apply {
173173
writeText(
174174
// Remove the Kotlin plugin from the consumer project to check how pure-AGP Kotlin-less consumers resolve the dependency
175-
readText().checkedReplace("apply plugin: 'kotlin-android'", "//").let { text ->
175+
readText().checkedReplace("id 'org.jetbrains.kotlin.android'", "//").let { text ->
176176
// If the test case doesn't assume flavors, remove the flavor setup lines:
177177
if (useFlavors) text else text.lines().filter { !it.trim().startsWith("flavor") }.joinToString("\n")
178178
} + "\n" + """

0 commit comments

Comments
 (0)