[Gradle] Fixed Mac and Windows integration tests
These tests were failed because of `dependencyManagement` in testDsl. ^KT-64903 Merge-request: KT-MR-14201 Merged-by: Dmitrii Krasnov <Dmitrii.Krasnov@jetbrains.com>
This commit is contained in:
committed by
Space Team
parent
1cc138431d
commit
be6ab943f4
+1
-12
@@ -221,18 +221,7 @@ class BuildCacheRelocationIT : KGPBaseTest() {
|
||||
gradleVersion,
|
||||
buildOptions = buildOptionsBeforeCaching,
|
||||
localRepoDir = localRepoDir
|
||||
) {
|
||||
it.subProject("build-cache-app").buildGradleKts.append(
|
||||
"""
|
||||
|
||||
repositories {
|
||||
maven {
|
||||
setUrl("$localRepoDir")
|
||||
}
|
||||
}
|
||||
""".trimIndent()
|
||||
)
|
||||
}
|
||||
)
|
||||
|
||||
checkBuildCacheRelocation(
|
||||
firstProject,
|
||||
|
||||
+5
-1
@@ -58,7 +58,11 @@ class CommonNativeIT : KGPBaseTest() {
|
||||
appTargets: List<String>,
|
||||
gradleVersion: GradleVersion,
|
||||
) {
|
||||
nativeProject(projectName.withPrefix, gradleVersion) {
|
||||
nativeProject(
|
||||
projectName.withPrefix,
|
||||
gradleVersion,
|
||||
localRepoDir = defaultLocalRepo(gradleVersion)
|
||||
) {
|
||||
|
||||
configureJvmMemory()
|
||||
|
||||
|
||||
-6
@@ -2,12 +2,6 @@ plugins {
|
||||
id("org.jetbrains.kotlin.multiplatform")
|
||||
}
|
||||
|
||||
repositories {
|
||||
mavenLocal()
|
||||
mavenCentral()
|
||||
maven { setUrl(rootProject.projectDir.resolve("repo")) }
|
||||
}
|
||||
|
||||
kotlin {
|
||||
ios()
|
||||
|
||||
|
||||
-5
@@ -1,8 +1,3 @@
|
||||
plugins {
|
||||
kotlin("multiplatform").apply(false)
|
||||
}
|
||||
|
||||
repositories {
|
||||
mavenLocal()
|
||||
mavenCentral()
|
||||
}
|
||||
+1
-1
@@ -20,6 +20,6 @@ kotlin {
|
||||
|
||||
publishing {
|
||||
repositories {
|
||||
maven { setUrl(rootProject.projectDir.resolve("repo")) }
|
||||
maven { setUrl("<localRepo>") }
|
||||
}
|
||||
}
|
||||
|
||||
-6
@@ -2,12 +2,6 @@ plugins {
|
||||
id("org.jetbrains.kotlin.multiplatform")
|
||||
}
|
||||
|
||||
repositories {
|
||||
mavenLocal()
|
||||
mavenCentral()
|
||||
maven { setUrl(rootProject.projectDir.resolve("repo")) }
|
||||
}
|
||||
|
||||
kotlin {
|
||||
tvos()
|
||||
|
||||
|
||||
+1
-1
@@ -20,6 +20,6 @@ kotlin {
|
||||
|
||||
publishing {
|
||||
repositories {
|
||||
maven { setUrl(rootProject.projectDir.resolve("repo")) }
|
||||
maven { setUrl("<localRepo>") }
|
||||
}
|
||||
}
|
||||
|
||||
-6
@@ -2,12 +2,6 @@ plugins {
|
||||
id("org.jetbrains.kotlin.multiplatform")
|
||||
}
|
||||
|
||||
repositories {
|
||||
mavenLocal()
|
||||
mavenCentral()
|
||||
maven { setUrl(rootProject.projectDir.resolve("repo")) }
|
||||
}
|
||||
|
||||
kotlin {
|
||||
watchos()
|
||||
|
||||
|
||||
-5
@@ -1,8 +1,3 @@
|
||||
plugins {
|
||||
kotlin("multiplatform").apply(false)
|
||||
}
|
||||
|
||||
repositories {
|
||||
mavenLocal()
|
||||
mavenCentral()
|
||||
}
|
||||
+1
-1
@@ -20,6 +20,6 @@ kotlin {
|
||||
|
||||
publishing {
|
||||
repositories {
|
||||
maven { setUrl(rootProject.projectDir.resolve("repo")) }
|
||||
maven { setUrl("<localRepo>") }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user