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:
Roman Golyshev
2020-01-21 17:30:22 +03:00
committed by Roman Golyshev
parent 3dbc058db9
commit a2b2c47b51
9 changed files with 14 additions and 10 deletions
@@ -12,7 +12,7 @@ application {
repositories {
jcenter()
maven { setUrl("https://dl.bintray.com/kotlin/kotlin-eap") }
maven("https://dl.bintray.com/kotlin/kotlin-eap")
}
dependencies {
@@ -11,7 +11,7 @@ application {
repositories {
jcenter()
maven { setUrl("https://dl.bintray.com/kotlin/kotlin-eap") }
maven("https://dl.bintray.com/kotlin/kotlin-eap")
}
dependencies {