Wizard: simplify custom maven repository syntax for Gradle

This commit is contained in:
Ilya Kirillov
2020-10-10 23:35:31 +03:00
parent 3ef12e32ee
commit d3e99bd7a7
83 changed files with 93 additions and 285 deletions
@@ -3,9 +3,7 @@ buildscript {
gradlePluginPortal() gradlePluginPortal()
jcenter() jcenter()
google() google()
maven { maven('KOTLIN_REPO')
url 'KOTLIN_REPO'
}
} }
dependencies { dependencies {
classpath('org.jetbrains.kotlin:kotlin-gradle-plugin:KOTLIN_VERSION') classpath('org.jetbrains.kotlin:kotlin-gradle-plugin:KOTLIN_VERSION')
@@ -22,8 +20,6 @@ allprojects {
repositories { repositories {
google() google()
mavenCentral() mavenCentral()
maven { maven('KOTLIN_REPO')
url 'KOTLIN_REPO'
}
} }
} }
@@ -3,9 +3,7 @@ buildscript {
gradlePluginPortal() gradlePluginPortal()
jcenter() jcenter()
google() google()
maven { maven("KOTLIN_REPO")
url = uri("KOTLIN_REPO")
}
} }
dependencies { dependencies {
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:KOTLIN_VERSION") classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:KOTLIN_VERSION")
@@ -22,8 +20,6 @@ allprojects {
repositories { repositories {
google() google()
mavenCentral() mavenCentral()
maven { maven("KOTLIN_REPO")
url = uri("KOTLIN_REPO")
}
} }
} }
@@ -4,9 +4,7 @@ pluginManagement {
jcenter() jcenter()
gradlePluginPortal() gradlePluginPortal()
mavenCentral() mavenCentral()
maven { maven('KOTLIN_REPO')
url 'KOTLIN_REPO'
}
} }
} }
@@ -4,9 +4,7 @@ pluginManagement {
jcenter() jcenter()
gradlePluginPortal() gradlePluginPortal()
mavenCentral() mavenCentral()
maven { maven("KOTLIN_REPO")
url = uri("KOTLIN_REPO")
}
} }
} }
@@ -7,9 +7,7 @@ version = '1.0-SNAPSHOT'
repositories { repositories {
mavenCentral() mavenCentral()
maven { maven('KOTLIN_REPO')
url 'KOTLIN_REPO'
}
} }
kotlin { kotlin {
@@ -7,9 +7,7 @@ version = "1.0-SNAPSHOT"
repositories { repositories {
mavenCentral() mavenCentral()
maven { maven("KOTLIN_REPO")
url = uri("KOTLIN_REPO")
}
} }
kotlin { kotlin {
@@ -2,9 +2,7 @@ pluginManagement {
repositories { repositories {
gradlePluginPortal() gradlePluginPortal()
mavenCentral() mavenCentral()
maven { maven('KOTLIN_REPO')
url 'KOTLIN_REPO'
}
} }
} }
@@ -2,9 +2,7 @@ pluginManagement {
repositories { repositories {
gradlePluginPortal() gradlePluginPortal()
mavenCentral() mavenCentral()
maven { maven("KOTLIN_REPO")
url = uri("KOTLIN_REPO")
}
} }
} }
@@ -7,9 +7,7 @@ version = '1.0-SNAPSHOT'
repositories { repositories {
mavenCentral() mavenCentral()
maven { maven('KOTLIN_REPO')
url 'KOTLIN_REPO'
}
} }
kotlin { kotlin {
@@ -7,9 +7,7 @@ version = "1.0-SNAPSHOT"
repositories { repositories {
mavenCentral() mavenCentral()
maven { maven("KOTLIN_REPO")
url = uri("KOTLIN_REPO")
}
} }
kotlin { kotlin {
@@ -2,9 +2,7 @@ pluginManagement {
repositories { repositories {
gradlePluginPortal() gradlePluginPortal()
mavenCentral() mavenCentral()
maven { maven('KOTLIN_REPO')
url 'KOTLIN_REPO'
}
} }
} }
@@ -2,9 +2,7 @@ pluginManagement {
repositories { repositories {
gradlePluginPortal() gradlePluginPortal()
mavenCentral() mavenCentral()
maven { maven("KOTLIN_REPO")
url = uri("KOTLIN_REPO")
}
} }
} }
@@ -7,9 +7,7 @@ version = '1.0-SNAPSHOT'
repositories { repositories {
mavenCentral() mavenCentral()
maven { maven('KOTLIN_REPO')
url 'KOTLIN_REPO'
}
} }
kotlin { kotlin {
@@ -7,9 +7,7 @@ version = "1.0-SNAPSHOT"
repositories { repositories {
mavenCentral() mavenCentral()
maven { maven("KOTLIN_REPO")
url = uri("KOTLIN_REPO")
}
} }
kotlin { kotlin {
@@ -2,9 +2,7 @@ pluginManagement {
repositories { repositories {
gradlePluginPortal() gradlePluginPortal()
mavenCentral() mavenCentral()
maven { maven('KOTLIN_REPO')
url 'KOTLIN_REPO'
}
} }
} }
@@ -2,9 +2,7 @@ pluginManagement {
repositories { repositories {
gradlePluginPortal() gradlePluginPortal()
mavenCentral() mavenCentral()
maven { maven("KOTLIN_REPO")
url = uri("KOTLIN_REPO")
}
} }
} }
@@ -6,8 +6,6 @@ version = '1.0-SNAPSHOT'
allprojects { allprojects {
repositories { repositories {
mavenCentral() mavenCentral()
maven { maven('KOTLIN_REPO')
url 'KOTLIN_REPO'
}
} }
} }
@@ -6,8 +6,6 @@ version = "1.0-SNAPSHOT"
allprojects { allprojects {
repositories { repositories {
mavenCentral() mavenCentral()
maven { maven("KOTLIN_REPO")
url = uri("KOTLIN_REPO")
}
} }
} }
@@ -2,9 +2,7 @@ pluginManagement {
repositories { repositories {
gradlePluginPortal() gradlePluginPortal()
mavenCentral() mavenCentral()
maven { maven('KOTLIN_REPO')
url 'KOTLIN_REPO'
}
} }
} }
@@ -2,9 +2,7 @@ pluginManagement {
repositories { repositories {
gradlePluginPortal() gradlePluginPortal()
mavenCentral() mavenCentral()
maven { maven("KOTLIN_REPO")
url = uri("KOTLIN_REPO")
}
} }
} }
@@ -2,9 +2,7 @@ pluginManagement {
repositories { repositories {
gradlePluginPortal() gradlePluginPortal()
mavenCentral() mavenCentral()
maven { maven('KOTLIN_REPO')
url 'KOTLIN_REPO'
}
} }
} }
@@ -2,9 +2,7 @@ pluginManagement {
repositories { repositories {
gradlePluginPortal() gradlePluginPortal()
mavenCentral() mavenCentral()
maven { maven("KOTLIN_REPO")
url = uri("KOTLIN_REPO")
}
} }
} }
@@ -7,9 +7,7 @@ version = '1.0-SNAPSHOT'
repositories { repositories {
mavenCentral() mavenCentral()
maven { maven('KOTLIN_REPO')
url 'KOTLIN_REPO'
}
} }
dependencies { dependencies {
@@ -9,9 +9,7 @@ version = "1.0-SNAPSHOT"
repositories { repositories {
mavenCentral() mavenCentral()
maven { maven("KOTLIN_REPO")
url = uri("KOTLIN_REPO")
}
} }
dependencies { dependencies {
@@ -2,9 +2,7 @@ pluginManagement {
repositories { repositories {
gradlePluginPortal() gradlePluginPortal()
mavenCentral() mavenCentral()
maven { maven('KOTLIN_REPO')
url 'KOTLIN_REPO'
}
} }
} }
@@ -2,9 +2,7 @@ pluginManagement {
repositories { repositories {
gradlePluginPortal() gradlePluginPortal()
mavenCentral() mavenCentral()
maven { maven("KOTLIN_REPO")
url = uri("KOTLIN_REPO")
}
} }
} }
@@ -9,9 +9,7 @@ version = '1.0-SNAPSHOT'
repositories { repositories {
mavenCentral() mavenCentral()
maven { maven('KOTLIN_REPO')
url 'KOTLIN_REPO'
}
} }
kotlin { kotlin {
@@ -7,9 +7,7 @@ version = "1.0-SNAPSHOT"
repositories { repositories {
mavenCentral() mavenCentral()
maven { maven("KOTLIN_REPO")
url = uri("KOTLIN_REPO")
}
} }
kotlin { kotlin {
@@ -2,9 +2,7 @@ pluginManagement {
repositories { repositories {
gradlePluginPortal() gradlePluginPortal()
mavenCentral() mavenCentral()
maven { maven('KOTLIN_REPO')
url 'KOTLIN_REPO'
}
} }
} }
@@ -2,9 +2,7 @@ pluginManagement {
repositories { repositories {
gradlePluginPortal() gradlePluginPortal()
mavenCentral() mavenCentral()
maven { maven("KOTLIN_REPO")
url = uri("KOTLIN_REPO")
}
} }
} }
@@ -7,9 +7,7 @@ version = '1.0-SNAPSHOT'
repositories { repositories {
mavenCentral() mavenCentral()
maven { maven('KOTLIN_REPO')
url 'KOTLIN_REPO'
}
} }
kotlin { kotlin {
@@ -7,9 +7,7 @@ version = "1.0-SNAPSHOT"
repositories { repositories {
mavenCentral() mavenCentral()
maven { maven("KOTLIN_REPO")
url = uri("KOTLIN_REPO")
}
} }
kotlin { kotlin {
@@ -2,9 +2,7 @@ pluginManagement {
repositories { repositories {
gradlePluginPortal() gradlePluginPortal()
mavenCentral() mavenCentral()
maven { maven('KOTLIN_REPO')
url 'KOTLIN_REPO'
}
} }
} }
@@ -2,9 +2,7 @@ pluginManagement {
repositories { repositories {
gradlePluginPortal() gradlePluginPortal()
mavenCentral() mavenCentral()
maven { maven("KOTLIN_REPO")
url = uri("KOTLIN_REPO")
}
} }
} }
@@ -7,9 +7,7 @@ version = '1.0-SNAPSHOT'
repositories { repositories {
mavenCentral() mavenCentral()
maven { maven('KOTLIN_REPO')
url 'KOTLIN_REPO'
}
} }
kotlin { kotlin {
@@ -7,9 +7,7 @@ version = "1.0-SNAPSHOT"
repositories { repositories {
mavenCentral() mavenCentral()
maven { maven("KOTLIN_REPO")
url = uri("KOTLIN_REPO")
}
} }
kotlin { kotlin {
@@ -2,9 +2,7 @@ pluginManagement {
repositories { repositories {
gradlePluginPortal() gradlePluginPortal()
mavenCentral() mavenCentral()
maven { maven('KOTLIN_REPO')
url 'KOTLIN_REPO'
}
} }
} }
@@ -2,9 +2,7 @@ pluginManagement {
repositories { repositories {
gradlePluginPortal() gradlePluginPortal()
mavenCentral() mavenCentral()
maven { maven("KOTLIN_REPO")
url = uri("KOTLIN_REPO")
}
} }
} }
@@ -7,9 +7,7 @@ version = '1.0-SNAPSHOT'
repositories { repositories {
mavenCentral() mavenCentral()
maven { maven('KOTLIN_REPO')
url 'KOTLIN_REPO'
}
} }
dependencies { dependencies {
@@ -7,9 +7,7 @@ version = "1.0-SNAPSHOT"
repositories { repositories {
mavenCentral() mavenCentral()
maven { maven("KOTLIN_REPO")
url = uri("KOTLIN_REPO")
}
} }
dependencies { dependencies {
@@ -2,9 +2,7 @@ pluginManagement {
repositories { repositories {
gradlePluginPortal() gradlePluginPortal()
mavenCentral() mavenCentral()
maven { maven('KOTLIN_REPO')
url 'KOTLIN_REPO'
}
} }
} }
@@ -2,9 +2,7 @@ pluginManagement {
repositories { repositories {
gradlePluginPortal() gradlePluginPortal()
mavenCentral() mavenCentral()
maven { maven("KOTLIN_REPO")
url = uri("KOTLIN_REPO")
}
} }
} }
@@ -7,9 +7,7 @@ version = '1.0-SNAPSHOT'
repositories { repositories {
mavenCentral() mavenCentral()
maven { maven('KOTLIN_REPO')
url 'KOTLIN_REPO'
}
} }
dependencies { dependencies {
@@ -7,9 +7,7 @@ version = "1.0-SNAPSHOT"
repositories { repositories {
mavenCentral() mavenCentral()
maven { maven("KOTLIN_REPO")
url = uri("KOTLIN_REPO")
}
} }
dependencies { dependencies {
@@ -2,9 +2,7 @@ pluginManagement {
repositories { repositories {
gradlePluginPortal() gradlePluginPortal()
mavenCentral() mavenCentral()
maven { maven('KOTLIN_REPO')
url 'KOTLIN_REPO'
}
} }
} }
@@ -2,9 +2,7 @@ pluginManagement {
repositories { repositories {
gradlePluginPortal() gradlePluginPortal()
mavenCentral() mavenCentral()
maven { maven("KOTLIN_REPO")
url = uri("KOTLIN_REPO")
}
} }
} }
@@ -7,9 +7,7 @@ version = '1.0-SNAPSHOT'
repositories { repositories {
mavenCentral() mavenCentral()
maven { maven('KOTLIN_REPO')
url 'KOTLIN_REPO'
}
} }
dependencies { dependencies {
@@ -9,9 +9,7 @@ version = "1.0-SNAPSHOT"
repositories { repositories {
mavenCentral() mavenCentral()
maven { maven("KOTLIN_REPO")
url = uri("KOTLIN_REPO")
}
} }
dependencies { dependencies {
@@ -2,9 +2,7 @@ pluginManagement {
repositories { repositories {
gradlePluginPortal() gradlePluginPortal()
mavenCentral() mavenCentral()
maven { maven('KOTLIN_REPO')
url 'KOTLIN_REPO'
}
} }
} }
@@ -2,9 +2,7 @@ pluginManagement {
repositories { repositories {
gradlePluginPortal() gradlePluginPortal()
mavenCentral() mavenCentral()
maven { maven("KOTLIN_REPO")
url = uri("KOTLIN_REPO")
}
} }
} }
@@ -8,9 +8,7 @@ version = '1.0-SNAPSHOT'
repositories { repositories {
mavenCentral() mavenCentral()
maven { maven('KOTLIN_REPO')
url 'KOTLIN_REPO'
}
} }
dependencies { dependencies {
@@ -10,9 +10,7 @@ version = "1.0-SNAPSHOT"
repositories { repositories {
mavenCentral() mavenCentral()
maven { maven("KOTLIN_REPO")
url = uri("KOTLIN_REPO")
}
} }
dependencies { dependencies {
@@ -2,9 +2,7 @@ pluginManagement {
repositories { repositories {
gradlePluginPortal() gradlePluginPortal()
mavenCentral() mavenCentral()
maven { maven('KOTLIN_REPO')
url 'KOTLIN_REPO'
}
} }
} }
@@ -2,9 +2,7 @@ pluginManagement {
repositories { repositories {
gradlePluginPortal() gradlePluginPortal()
mavenCentral() mavenCentral()
maven { maven("KOTLIN_REPO")
url = uri("KOTLIN_REPO")
}
} }
} }
@@ -8,9 +8,7 @@ version = '1.0-SNAPSHOT'
repositories { repositories {
jcenter() jcenter()
mavenCentral() mavenCentral()
maven { maven('KOTLIN_REPO')
url 'KOTLIN_REPO'
}
} }
dependencies { dependencies {
@@ -8,9 +8,7 @@ version = "1.0-SNAPSHOT"
repositories { repositories {
jcenter() jcenter()
mavenCentral() mavenCentral()
maven { maven("KOTLIN_REPO")
url = uri("KOTLIN_REPO")
}
} }
dependencies { dependencies {
@@ -2,9 +2,7 @@ pluginManagement {
repositories { repositories {
gradlePluginPortal() gradlePluginPortal()
mavenCentral() mavenCentral()
maven { maven('KOTLIN_REPO')
url 'KOTLIN_REPO'
}
} }
} }
@@ -2,9 +2,7 @@ pluginManagement {
repositories { repositories {
gradlePluginPortal() gradlePluginPortal()
mavenCentral() mavenCentral()
maven { maven("KOTLIN_REPO")
url = uri("KOTLIN_REPO")
}
} }
} }
@@ -11,18 +11,10 @@ version = '1.0-SNAPSHOT'
repositories { repositories {
jcenter() jcenter()
mavenCentral() mavenCentral()
maven { maven('KOTLIN_REPO')
url 'KOTLIN_REPO' maven('https://dl.bintray.com/kotlin/kotlin-js-wrappers')
} maven('https://dl.bintray.com/kotlin/kotlinx')
maven { maven('https://dl.bintray.com/kotlin/ktor')
url 'https://dl.bintray.com/kotlin/kotlin-js-wrappers'
}
maven {
url 'https://dl.bintray.com/kotlin/kotlinx'
}
maven {
url 'https://dl.bintray.com/kotlin/ktor'
}
} }
kotlin { kotlin {
@@ -11,18 +11,10 @@ version = "1.0-SNAPSHOT"
repositories { repositories {
jcenter() jcenter()
mavenCentral() mavenCentral()
maven { maven("KOTLIN_REPO")
url = uri("KOTLIN_REPO") maven("https://dl.bintray.com/kotlin/kotlin-js-wrappers")
} maven("https://dl.bintray.com/kotlin/kotlinx")
maven { maven("https://dl.bintray.com/kotlin/ktor")
url = uri("https://dl.bintray.com/kotlin/kotlin-js-wrappers")
}
maven {
url = uri("https://dl.bintray.com/kotlin/kotlinx")
}
maven {
url = uri("https://dl.bintray.com/kotlin/ktor")
}
} }
kotlin { kotlin {
@@ -2,9 +2,7 @@ pluginManagement {
repositories { repositories {
gradlePluginPortal() gradlePluginPortal()
mavenCentral() mavenCentral()
maven { maven('KOTLIN_REPO')
url 'KOTLIN_REPO'
}
} }
} }
@@ -2,9 +2,7 @@ pluginManagement {
repositories { repositories {
gradlePluginPortal() gradlePluginPortal()
mavenCentral() mavenCentral()
maven { maven("KOTLIN_REPO")
url = uri("KOTLIN_REPO")
}
} }
} }
@@ -7,9 +7,7 @@ version = '1.0-SNAPSHOT'
repositories { repositories {
mavenCentral() mavenCentral()
maven { maven('KOTLIN_REPO')
url 'KOTLIN_REPO'
}
} }
kotlin { kotlin {
@@ -7,9 +7,7 @@ version = "1.0-SNAPSHOT"
repositories { repositories {
mavenCentral() mavenCentral()
maven { maven("KOTLIN_REPO")
url = uri("KOTLIN_REPO")
}
} }
kotlin { kotlin {
@@ -2,9 +2,7 @@ pluginManagement {
repositories { repositories {
gradlePluginPortal() gradlePluginPortal()
mavenCentral() mavenCentral()
maven { maven('KOTLIN_REPO')
url 'KOTLIN_REPO'
}
} }
} }
@@ -2,9 +2,7 @@ pluginManagement {
repositories { repositories {
gradlePluginPortal() gradlePluginPortal()
mavenCentral() mavenCentral()
maven { maven("KOTLIN_REPO")
url = uri("KOTLIN_REPO")
}
} }
} }
@@ -9,9 +9,7 @@ version = '1.0-SNAPSHOT'
repositories { repositories {
mavenCentral() mavenCentral()
maven { maven('KOTLIN_REPO')
url 'KOTLIN_REPO'
}
} }
kotlin { kotlin {
@@ -7,9 +7,7 @@ version = "1.0-SNAPSHOT"
repositories { repositories {
mavenCentral() mavenCentral()
maven { maven("KOTLIN_REPO")
url = uri("KOTLIN_REPO")
}
} }
kotlin { kotlin {
@@ -2,9 +2,7 @@ pluginManagement {
repositories { repositories {
gradlePluginPortal() gradlePluginPortal()
mavenCentral() mavenCentral()
maven { maven('KOTLIN_REPO')
url 'KOTLIN_REPO'
}
} }
} }
@@ -2,9 +2,7 @@ pluginManagement {
repositories { repositories {
gradlePluginPortal() gradlePluginPortal()
mavenCentral() mavenCentral()
maven { maven("KOTLIN_REPO")
url = uri("KOTLIN_REPO")
}
} }
} }
@@ -3,9 +3,7 @@ buildscript {
gradlePluginPortal() gradlePluginPortal()
jcenter() jcenter()
google() google()
maven { maven('KOTLIN_REPO')
url 'KOTLIN_REPO'
}
} }
dependencies { dependencies {
classpath('org.jetbrains.kotlin:kotlin-gradle-plugin:KOTLIN_VERSION') classpath('org.jetbrains.kotlin:kotlin-gradle-plugin:KOTLIN_VERSION')
@@ -22,8 +20,6 @@ allprojects {
repositories { repositories {
google() google()
mavenCentral() mavenCentral()
maven { maven('KOTLIN_REPO')
url 'KOTLIN_REPO'
}
} }
} }
@@ -3,9 +3,7 @@ buildscript {
gradlePluginPortal() gradlePluginPortal()
jcenter() jcenter()
google() google()
maven { maven("KOTLIN_REPO")
url = uri("KOTLIN_REPO")
}
} }
dependencies { dependencies {
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:KOTLIN_VERSION") classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:KOTLIN_VERSION")
@@ -22,8 +20,6 @@ allprojects {
repositories { repositories {
google() google()
mavenCentral() mavenCentral()
maven { maven("KOTLIN_REPO")
url = uri("KOTLIN_REPO")
}
} }
} }
@@ -4,9 +4,7 @@ pluginManagement {
jcenter() jcenter()
gradlePluginPortal() gradlePluginPortal()
mavenCentral() mavenCentral()
maven { maven('KOTLIN_REPO')
url 'KOTLIN_REPO'
}
} }
} }
@@ -4,9 +4,7 @@ pluginManagement {
jcenter() jcenter()
gradlePluginPortal() gradlePluginPortal()
mavenCentral() mavenCentral()
maven { maven("KOTLIN_REPO")
url = uri("KOTLIN_REPO")
}
} }
} }
@@ -10,9 +10,7 @@ version = '1.0-SNAPSHOT'
repositories { repositories {
google() google()
mavenCentral() mavenCentral()
maven { maven('KOTLIN_REPO')
url 'KOTLIN_REPO'
}
} }
kotlin { kotlin {
@@ -10,9 +10,7 @@ version = "1.0-SNAPSHOT"
repositories { repositories {
google() google()
mavenCentral() mavenCentral()
maven { maven("KOTLIN_REPO")
url = uri("KOTLIN_REPO")
}
} }
kotlin { kotlin {
@@ -4,9 +4,7 @@ pluginManagement {
jcenter() jcenter()
gradlePluginPortal() gradlePluginPortal()
mavenCentral() mavenCentral()
maven { maven('KOTLIN_REPO')
url 'KOTLIN_REPO'
}
} }
} }
@@ -4,9 +4,7 @@ pluginManagement {
jcenter() jcenter()
gradlePluginPortal() gradlePluginPortal()
mavenCentral() mavenCentral()
maven { maven("KOTLIN_REPO")
url = uri("KOTLIN_REPO")
}
} }
} }
@@ -9,9 +9,7 @@ version = '1.0-SNAPSHOT'
repositories { repositories {
mavenCentral() mavenCentral()
maven { maven('KOTLIN_REPO')
url 'KOTLIN_REPO'
}
} }
kotlin { kotlin {
@@ -7,9 +7,7 @@ version = "1.0-SNAPSHOT"
repositories { repositories {
mavenCentral() mavenCentral()
maven { maven("KOTLIN_REPO")
url = uri("KOTLIN_REPO")
}
} }
kotlin { kotlin {
@@ -2,9 +2,7 @@ pluginManagement {
repositories { repositories {
gradlePluginPortal() gradlePluginPortal()
mavenCentral() mavenCentral()
maven { maven('KOTLIN_REPO')
url 'KOTLIN_REPO'
}
} }
} }
@@ -2,9 +2,7 @@ pluginManagement {
repositories { repositories {
gradlePluginPortal() gradlePluginPortal()
mavenCentral() mavenCentral()
maven { maven("KOTLIN_REPO")
url = uri("KOTLIN_REPO")
}
} }
} }
@@ -27,15 +27,7 @@ data class RepositoryIR(override val repository: Repository) : BuildSystemIR, Re
+"()" +"()"
} }
is CustomMavenRepository -> { is CustomMavenRepository -> {
sectionCall("maven", needIndent = true) { call("maven", forceBrackets = true) { +repository.url.quotified }
assignmentOrCall("url") {
val url = repository.url.quotified
when (dsl) {
GradlePrinter.GradleDsl.KOTLIN -> call("uri") { +url }
GradlePrinter.GradleDsl.GROOVY -> +url
}
}
}
} }
else -> Unit else -> Unit
} }