[Gradle] Specify children projects names in functional tests to avoid ambiguity
#KTI-1221 In Progress
This commit is contained in:
committed by
Space Team
parent
e9fa576297
commit
46e83ef7da
+2
-2
@@ -106,11 +106,11 @@ class JsPluginKgpDependencyResolutionPropertyTest {
|
|||||||
val project = buildProject {
|
val project = buildProject {
|
||||||
}
|
}
|
||||||
|
|
||||||
val mppSubproject = buildProject({ withParent(project) }) {
|
val mppSubproject = buildProject({ withName("mpp").withParent(project) }) {
|
||||||
applyMultiplatformPlugin()
|
applyMultiplatformPlugin()
|
||||||
}
|
}
|
||||||
|
|
||||||
val jsSubproject = buildProject({ withParent(project) }) {
|
val jsSubproject = buildProject({ withName("js").withParent(project) }) {
|
||||||
plugins.apply("org.jetbrains.kotlin.js")
|
plugins.apply("org.jetbrains.kotlin.js")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+2
-2
@@ -24,8 +24,8 @@ class KT58319ProjectMetadataProvider {
|
|||||||
@Test
|
@Test
|
||||||
fun `test - ProjectMetadataProviderImpl - supports single target projects`() {
|
fun `test - ProjectMetadataProviderImpl - supports single target projects`() {
|
||||||
val rootProject = buildProject()
|
val rootProject = buildProject()
|
||||||
val producerProject = buildProjectWithMPP(projectBuilder = { withParent(rootProject) })
|
val producerProject = buildProjectWithMPP(projectBuilder = { withName("producer").withParent(rootProject) })
|
||||||
val consumerProject = buildProjectWithMPP(projectBuilder = { withParent(rootProject) })
|
val consumerProject = buildProjectWithMPP(projectBuilder = { withName("consumer").withParent(rootProject) })
|
||||||
|
|
||||||
producerProject.multiplatformExtension.jvm()
|
producerProject.multiplatformExtension.jvm()
|
||||||
consumerProject.multiplatformExtension.jvm()
|
consumerProject.multiplatformExtension.jvm()
|
||||||
|
|||||||
Reference in New Issue
Block a user