KT-34795 Use maven(...) instead of maven { setUrl(...) } for gradle scripts generation
- Use new syntax in tests, but not in actual gradle files - Reuse public `toKotlinRepositorySnippet` instead of private one - ^KT-34795 Fixed
This commit is contained in:
committed by
Roman Golyshev
parent
3dbc058db9
commit
a2b2c47b51
+1
-1
@@ -139,7 +139,7 @@ class NewMultiplatformIT : BaseGradleIT() {
|
||||
|
||||
with(appProject) {
|
||||
setupWorkingDir()
|
||||
gradleBuildScript().appendText("\nrepositories { maven { setUrl(\"$libLocalRepoUri\") } }")
|
||||
gradleBuildScript().appendText("\nrepositories { maven(\"$libLocalRepoUri\") }")
|
||||
|
||||
fun CompiledProject.checkProgramCompilationCommandLine(check: (String) -> Unit) {
|
||||
output.lineSequence().filter {
|
||||
|
||||
Reference in New Issue
Block a user