KT-34795 Fix failing NewMultiplatformIT#testLibAndApp test
- Revert back `maven(...)` to `maven { setUrl(...) }`, because in this test this syntax is used intentionally to be valid both for `.gradle` and `.gradle.kts`
This commit is contained in:
committed by
Roman Golyshev
parent
c804190f36
commit
fe779bf7bd
+3
-1
@@ -139,7 +139,9 @@ class NewMultiplatformIT : BaseGradleIT() {
|
|||||||
|
|
||||||
with(appProject) {
|
with(appProject) {
|
||||||
setupWorkingDir()
|
setupWorkingDir()
|
||||||
gradleBuildScript().appendText("\nrepositories { maven(\"$libLocalRepoUri\") }")
|
|
||||||
|
// we use `maven { setUrl(...) }` because this syntax actually works both for Groovy and Kotlin DSLs in Gradle
|
||||||
|
gradleBuildScript().appendText("\nrepositories { maven { setUrl(\"$libLocalRepoUri\") } }")
|
||||||
|
|
||||||
fun CompiledProject.checkProgramCompilationCommandLine(check: (String) -> Unit) {
|
fun CompiledProject.checkProgramCompilationCommandLine(check: (String) -> Unit) {
|
||||||
output.lineSequence().filter {
|
output.lineSequence().filter {
|
||||||
|
|||||||
Reference in New Issue
Block a user