Fix testPlatformToCommonExpByInComposite.

In 9d362875da build started fail if mpp
or js targets not configured.
The test testPlatformToCommonExpByInComposite was fixed due it.
This commit is contained in:
Alexander Dudinsky
2020-08-04 12:58:38 +03:00
parent 05d6217f78
commit ea0099aa39
2 changed files with 17 additions and 0 deletions
@@ -657,6 +657,16 @@ class NewMultiplatformProjectImportingTest : MultiplePluginVersionGradleImportin
module("project.commonTest") {
moduleDependency("project.commonMain", DependencyScope.TEST)
}
module("project.jvmMain") {
moduleDependency("project.commonMain", DependencyScope.COMPILE)
}
module("project.jvmTest"){
moduleDependency("project.commonMain", DependencyScope.TEST)
moduleDependency("project.commonTest", DependencyScope.TEST)
moduleDependency("project.jvmMain", DependencyScope.TEST)
moduleDependency("project.jvmMain", DependencyScope.RUNTIME)
}
module("toInclude")
module("toInclude.commonMain")
module("toInclude.commonTest") {
@@ -670,6 +680,7 @@ class NewMultiplatformProjectImportingTest : MultiplePluginVersionGradleImportin
moduleDependency("toInclude.commonMain", DependencyScope.TEST)
moduleDependency("toInclude.commonTest", DependencyScope.TEST)
moduleDependency("toInclude.jsMain", DependencyScope.TEST)
moduleDependency("toInclude.jsMain", DependencyScope.RUNTIME)
}
module("toInclude.jvmMain") {
moduleDependency("toInclude.commonMain", DependencyScope.COMPILE)
@@ -678,6 +689,7 @@ class NewMultiplatformProjectImportingTest : MultiplePluginVersionGradleImportin
moduleDependency("toInclude.commonMain", DependencyScope.TEST)
moduleDependency("toInclude.commonTest", DependencyScope.TEST)
moduleDependency("toInclude.jvmMain", DependencyScope.TEST)
moduleDependency("toInclude.jvmMain", DependencyScope.RUNTIME)
}
}
}
@@ -14,3 +14,8 @@ apply plugin: 'kotlin-multiplatform'
repositories {
{{kotlin_plugin_repositories}}
}
//
kotlin{
jvm()
}