[Gradle] Adjust the MPP test project for KT-34901
Following the resolution of KT-59595, the java plugin is no longer applied in MPP projects. However, the `java-test-fixtures` plugin is currently non-functional due to its reliance on the `java` plugin (https://github.com/gradle/gradle/blob/e95eafb8c43c5cd404bd235fa0a69c58cab6f5d6/subprojects/plugins/src/main/java/org/gradle/api/plugins/JavaTestFixturesPlugin.java#L60).
This commit is contained in:
committed by
Space Team
parent
a55b74d4e0
commit
009cda5062
+2
-1
@@ -1,5 +1,6 @@
|
|||||||
plugins {
|
plugins {
|
||||||
id("org.jetbrains.kotlin.multiplatform")
|
id("org.jetbrains.kotlin.multiplatform")
|
||||||
|
id("java")
|
||||||
id("java-test-fixtures")
|
id("java-test-fixtures")
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -22,6 +23,6 @@ kotlin {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
tasks.named("test").configure {
|
tasks.named("jvmTest").configure {
|
||||||
useJUnitPlatform()
|
useJUnitPlatform()
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user