[gradle] consistent use of maven url in gradle files (#5045)

* wrap maven url with uri function

* consistent use of maven url in gradle files
This commit is contained in:
Sebastien Rosset 2020-01-19 11:57:38 -08:00 committed by Jim Schubert
parent 23131c1a63
commit d61dcc17e0
62 changed files with 88 additions and 88 deletions

View File

@ -51,7 +51,7 @@ To include in your project, add the following to `build.gradle`:
buildscript {
repositories {
mavenLocal()
maven { url = "https://repo1.maven.org/maven2" }
maven { url "https://repo1.maven.org/maven2" }
}
dependencies {
classpath "org.openapitools:openapi-generator-gradle-plugin:3.3.4"
@ -96,4 +96,4 @@ openApiGenerate {
dateLibrary: "java8"
]
}
```
```

View File

@ -56,7 +56,7 @@ Using https://docs.gradle.org/current/userguide/plugins.html#sec:old_plugin_appl
buildscript {
repositories {
mavenLocal()
maven { url = "https://repo1.maven.org/maven2" }
maven { url "https://repo1.maven.org/maven2" }
// or, via Gradle Plugin Portal:
// url "https://plugins.gradle.org/m2/"
}

View File

@ -2,7 +2,7 @@ buildscript {
ext.kotlin_version = '1.3.20'
repositories {
mavenLocal()
maven { url = "https://repo1.maven.org/maven2" }
maven { url "https://repo1.maven.org/maven2" }
maven {
url "https://plugins.gradle.org/m2/"
}
@ -46,7 +46,7 @@ targetCompatibility = 1.8
repositories {
jcenter()
maven { url = "https://repo1.maven.org/maven2" }
maven { url "https://repo1.maven.org/maven2" }
mavenLocal()
maven {
url "https://oss.sonatype.org/content/repositories/releases/"

View File

@ -1,7 +1,7 @@
buildscript {
repositories {
mavenLocal()
maven { url = "https://repo1.maven.org/maven2" }
maven { url "https://repo1.maven.org/maven2" }
maven {
url "https://plugins.gradle.org/m2/"
}

View File

@ -14,7 +14,7 @@ wrapper {
buildscript {
repositories {
maven { url "https://repo1.maven.org/maven2" }
maven { url 'https://repo.jfrog.org/artifactory/gradle-plugins' }
maven { url = 'https://repo.jfrog.org/artifactory/gradle-plugins' }
}
dependencies {
classpath(group: 'org.jfrog.buildinfo', name: 'build-info-extractor-gradle', version: '2.0.16')
@ -22,7 +22,7 @@ buildscript {
}
repositories {
maven { url = "https://repo1.maven.org/maven2" }
maven { url "https://repo1.maven.org/maven2" }
mavenLocal()
}

View File

@ -6,7 +6,7 @@ version = '{{artifactVersion}}'
buildscript {
repositories {
maven { url = "https://repo1.maven.org/maven2" }
maven { url "https://repo1.maven.org/maven2" }
jcenter()
}
dependencies {
@ -16,7 +16,7 @@ buildscript {
}
repositories {
maven { url = "https://repo1.maven.org/maven2" }
maven { url "https://repo1.maven.org/maven2" }
jcenter()
}

View File

@ -6,7 +6,7 @@ version = '{{artifactVersion}}'
buildscript {
repositories {
maven { url = "https://repo1.maven.org/maven2" }
maven { url "https://repo1.maven.org/maven2" }
jcenter()
}
dependencies {

View File

@ -6,7 +6,7 @@ version = '{{artifactVersion}}'
buildscript {
repositories {
maven { url = "https://repo1.maven.org/maven2" }
maven { url "https://repo1.maven.org/maven2" }
jcenter()
}
dependencies {

View File

@ -6,7 +6,7 @@ version = '{{artifactVersion}}'
buildscript {
repositories {
maven { url = "https://repo1.maven.org/maven2" }
maven { url "https://repo1.maven.org/maven2" }
jcenter()
}
dependencies {

View File

@ -6,13 +6,13 @@ version = '{{artifactVersion}}'
buildscript {
repositories {
maven { url = "https://repo1.maven.org/maven2" }
maven { url "https://repo1.maven.org/maven2" }
jcenter()
}
}
repositories {
maven { url = "https://repo1.maven.org/maven2" }
maven { url "https://repo1.maven.org/maven2" }
jcenter()
}

View File

@ -9,7 +9,7 @@ version = '{{artifactVersion}}'
buildscript {
repositories {
maven { url = "https://repo1.maven.org/maven2" }
maven { url "https://repo1.maven.org/maven2" }
jcenter()
}
dependencies {

View File

@ -6,7 +6,7 @@ version = '{{artifactVersion}}'
buildscript {
repositories {
maven { url = "https://repo1.maven.org/maven2" }
maven { url "https://repo1.maven.org/maven2" }
jcenter()
}
dependencies {

View File

@ -6,7 +6,7 @@ version = '{{artifactVersion}}'
buildscript {
repositories {
maven { url = "https://repo1.maven.org/maven2" }
maven { url "https://repo1.maven.org/maven2" }
jcenter()
}
dependencies {

View File

@ -6,7 +6,7 @@ version = '{{artifactVersion}}'
buildscript {
repositories {
maven { url = "https://repo1.maven.org/maven2" }
maven { url "https://repo1.maven.org/maven2" }
jcenter()
}
dependencies {

View File

@ -6,7 +6,7 @@ version = '{{artifactVersion}}'
buildscript {
repositories {
maven { url = "https://repo1.maven.org/maven2" }
maven { url "https://repo1.maven.org/maven2" }
jcenter()
}
dependencies {

View File

@ -6,7 +6,7 @@ version = '{{artifactVersion}}'
buildscript {
repositories {
maven { url = "https://repo1.maven.org/maven2" }
maven { url "https://repo1.maven.org/maven2" }
jcenter()
}
dependencies {

View File

@ -5,7 +5,7 @@ group = '{{groupId}}'
version = '{{artifactVersion}}'
repositories {
maven { url = "https://repo1.maven.org/maven2" }
maven { url "https://repo1.maven.org/maven2" }
jcenter()
}

View File

@ -4,7 +4,7 @@ project.version = "{{artifactVersion}}"
project.group = "{{groupId}}"
repositories {
maven { url = "https://repo1.maven.org/maven2" }
maven { url "https://repo1.maven.org/maven2" }
}
dependencies {

View File

@ -4,7 +4,7 @@ project.version = "{{artifactVersion}}"
project.group = "{{groupId}}"
repositories {
maven { url = "https://repo1.maven.org/maven2" }
maven { url "https://repo1.maven.org/maven2" }
}
dependencies {

View File

@ -5,7 +5,7 @@ project.version = '{{artifactVersion}}'
buildscript {
repositories {
maven { url = "https://repo1.maven.org/maven2" }
maven { url "https://repo1.maven.org/maven2" }
jcenter()
}
dependencies {

View File

@ -5,7 +5,7 @@ project.version = '{{artifactVersion}}'
buildscript {
repositories {
maven { url = "https://repo1.maven.org/maven2" }
maven { url "https://repo1.maven.org/maven2" }
jcenter()
}
dependencies {

View File

@ -13,7 +13,7 @@ buildscript {
{{/jvm-retrofit2}}
repositories {
maven { url = "https://repo1.maven.org/maven2" }
maven { url "https://repo1.maven.org/maven2" }
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
@ -26,7 +26,7 @@ apply plugin: 'kotlin-kapt'
{{/moshiCodeGen}}
repositories {
maven { url = "https://repo1.maven.org/maven2" }
maven { url "https://repo1.maven.org/maven2" }
}
test {

View File

@ -12,9 +12,9 @@ buildscript {
ext.shadow_version = '2.0.3'
repositories {
maven { url = "https://repo1.maven.org/maven2" }
maven { url "https://repo1.maven.org/maven2" }
maven {
url "https://plugins.gradle.org/m2/"
url = "https://plugins.gradle.org/m2/"
}
}
dependencies {
@ -50,8 +50,8 @@ shadowJar {
}
repositories {
maven { url = "https://repo1.maven.org/maven2" }
maven { url "https://dl.bintray.com/kotlin/ktor" }
maven { url "https://repo1.maven.org/maven2" }
maven { url "https://dl.bintray.com/kotlin/ktor" }
maven { url "https://dl.bintray.com/kotlin/kotlinx" }
}

View File

@ -3,7 +3,7 @@ plugins {
}
repositories {
maven { url = "https://repo1.maven.org/maven2" }
maven { url "https://repo1.maven.org/maven2" }
}
dependencies {

View File

@ -109,7 +109,7 @@ ext {
repositories {
mavenLocal()
maven { url = "https://repo1.maven.org/maven2" }
maven { url "https://repo1.maven.org/maven2" }
}
dependencies {

View File

@ -14,7 +14,7 @@ wrapper {
buildscript {
repositories {
maven { url "https://repo1.maven.org/maven2" }
maven { url 'https://repo.jfrog.org/artifactory/gradle-plugins' }
maven { url = 'https://repo.jfrog.org/artifactory/gradle-plugins' }
}
dependencies {
classpath(group: 'org.jfrog.buildinfo', name: 'build-info-extractor-gradle', version: '2.0.16')
@ -22,7 +22,7 @@ buildscript {
}
repositories {
maven { url = "https://repo1.maven.org/maven2" }
maven { url "https://repo1.maven.org/maven2" }
mavenLocal()
}

View File

@ -6,7 +6,7 @@ version = '1.0.0'
buildscript {
repositories {
maven { url = "https://repo1.maven.org/maven2" }
maven { url "https://repo1.maven.org/maven2" }
jcenter()
}
dependencies {

View File

@ -6,7 +6,7 @@ version = '1.0.0'
buildscript {
repositories {
maven { url = "https://repo1.maven.org/maven2" }
maven { url "https://repo1.maven.org/maven2" }
jcenter()
}
dependencies {

View File

@ -6,7 +6,7 @@ version = '1.0.0'
buildscript {
repositories {
maven { url = "https://repo1.maven.org/maven2" }
maven { url "https://repo1.maven.org/maven2" }
jcenter()
}
dependencies {

View File

@ -6,7 +6,7 @@ version = '1.0.0'
buildscript {
repositories {
maven { url = "https://repo1.maven.org/maven2" }
maven { url "https://repo1.maven.org/maven2" }
jcenter()
}
dependencies {
@ -16,7 +16,7 @@ buildscript {
}
repositories {
maven { url = "https://repo1.maven.org/maven2" }
maven { url "https://repo1.maven.org/maven2" }
jcenter()
}

View File

@ -6,7 +6,7 @@ version = '1.0.0'
buildscript {
repositories {
maven { url = "https://repo1.maven.org/maven2" }
maven { url "https://repo1.maven.org/maven2" }
jcenter()
}
dependencies {

View File

@ -6,7 +6,7 @@ version = '1.0.0'
buildscript {
repositories {
maven { url = "https://repo1.maven.org/maven2" }
maven { url "https://repo1.maven.org/maven2" }
jcenter()
}
dependencies {

View File

@ -6,13 +6,13 @@ version = '1.0.0'
buildscript {
repositories {
maven { url = "https://repo1.maven.org/maven2" }
maven { url "https://repo1.maven.org/maven2" }
jcenter()
}
}
repositories {
maven { url = "https://repo1.maven.org/maven2" }
maven { url "https://repo1.maven.org/maven2" }
jcenter()
}

View File

@ -7,7 +7,7 @@ version = '1.0.0'
buildscript {
repositories {
maven { url = "https://repo1.maven.org/maven2" }
maven { url "https://repo1.maven.org/maven2" }
jcenter()
}
dependencies {

View File

@ -7,7 +7,7 @@ version = '1.0.0'
buildscript {
repositories {
maven { url = "https://repo1.maven.org/maven2" }
maven { url "https://repo1.maven.org/maven2" }
jcenter()
}
dependencies {

View File

@ -6,7 +6,7 @@ version = '1.0.0'
buildscript {
repositories {
maven { url = "https://repo1.maven.org/maven2" }
maven { url "https://repo1.maven.org/maven2" }
jcenter()
}
dependencies {

View File

@ -6,7 +6,7 @@ version = '1.0.0'
buildscript {
repositories {
maven { url = "https://repo1.maven.org/maven2" }
maven { url "https://repo1.maven.org/maven2" }
jcenter()
}
dependencies {

View File

@ -6,7 +6,7 @@ version = '1.0.0'
buildscript {
repositories {
maven { url = "https://repo1.maven.org/maven2" }
maven { url "https://repo1.maven.org/maven2" }
jcenter()
}
dependencies {

View File

@ -6,7 +6,7 @@ version = '1.0.0'
buildscript {
repositories {
maven { url = "https://repo1.maven.org/maven2" }
maven { url "https://repo1.maven.org/maven2" }
jcenter()
}
dependencies {

View File

@ -6,7 +6,7 @@ version = '1.0.0'
buildscript {
repositories {
maven { url = "https://repo1.maven.org/maven2" }
maven { url "https://repo1.maven.org/maven2" }
jcenter()
}
dependencies {

View File

@ -6,7 +6,7 @@ version = '1.0.0'
buildscript {
repositories {
maven { url = "https://repo1.maven.org/maven2" }
maven { url "https://repo1.maven.org/maven2" }
jcenter()
}
dependencies {

View File

@ -6,7 +6,7 @@ version = '1.0.0'
buildscript {
repositories {
maven { url = "https://repo1.maven.org/maven2" }
maven { url "https://repo1.maven.org/maven2" }
jcenter()
}
dependencies {

View File

@ -6,7 +6,7 @@ version = '1.0.0'
buildscript {
repositories {
maven { url = "https://repo1.maven.org/maven2" }
maven { url "https://repo1.maven.org/maven2" }
jcenter()
}
dependencies {

View File

@ -6,7 +6,7 @@ version = '1.0.0'
buildscript {
repositories {
maven { url = "https://repo1.maven.org/maven2" }
maven { url "https://repo1.maven.org/maven2" }
jcenter()
}
dependencies {

View File

@ -6,7 +6,7 @@ version = '1.0.0'
buildscript {
repositories {
maven { url = "https://repo1.maven.org/maven2" }
maven { url "https://repo1.maven.org/maven2" }
jcenter()
}
dependencies {

View File

@ -6,7 +6,7 @@ version = '1.0.0'
buildscript {
repositories {
maven { url = "https://repo1.maven.org/maven2" }
maven { url "https://repo1.maven.org/maven2" }
jcenter()
}
dependencies {

View File

@ -5,7 +5,7 @@ group = 'org.openapitools'
version = '1.0.0'
repositories {
maven { url = "https://repo1.maven.org/maven2" }
maven { url "https://repo1.maven.org/maven2" }
jcenter()
}

View File

@ -6,7 +6,7 @@ version = '1.0.0'
buildscript {
repositories {
maven { url = "https://repo1.maven.org/maven2" }
maven { url "https://repo1.maven.org/maven2" }
jcenter()
}
dependencies {
@ -16,7 +16,7 @@ buildscript {
}
repositories {
maven { url = "https://repo1.maven.org/maven2" }
maven { url "https://repo1.maven.org/maven2" }
jcenter()
}

View File

@ -10,7 +10,7 @@ buildscript {
ext.kotlin_version = '1.3.61'
repositories {
maven { url = "https://repo1.maven.org/maven2" }
maven { url "https://repo1.maven.org/maven2" }
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
@ -20,7 +20,7 @@ buildscript {
apply plugin: 'kotlin'
repositories {
maven { url = "https://repo1.maven.org/maven2" }
maven { url "https://repo1.maven.org/maven2" }
}
test {

View File

@ -10,7 +10,7 @@ buildscript {
ext.kotlin_version = '1.3.61'
repositories {
maven { url = "https://repo1.maven.org/maven2" }
maven { url "https://repo1.maven.org/maven2" }
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
@ -20,7 +20,7 @@ buildscript {
apply plugin: 'kotlin'
repositories {
maven { url = "https://repo1.maven.org/maven2" }
maven { url "https://repo1.maven.org/maven2" }
}
test {

View File

@ -10,7 +10,7 @@ buildscript {
ext.kotlin_version = '1.3.61'
repositories {
maven { url = "https://repo1.maven.org/maven2" }
maven { url "https://repo1.maven.org/maven2" }
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
@ -21,7 +21,7 @@ apply plugin: 'kotlin'
apply plugin: 'kotlin-kapt'
repositories {
maven { url = "https://repo1.maven.org/maven2" }
maven { url "https://repo1.maven.org/maven2" }
}
test {

View File

@ -10,7 +10,7 @@ buildscript {
ext.kotlin_version = '1.3.61'
repositories {
maven { url = "https://repo1.maven.org/maven2" }
maven { url "https://repo1.maven.org/maven2" }
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
@ -20,7 +20,7 @@ buildscript {
apply plugin: 'kotlin'
repositories {
maven { url = "https://repo1.maven.org/maven2" }
maven { url "https://repo1.maven.org/maven2" }
}
test {

View File

@ -10,7 +10,7 @@ buildscript {
ext.kotlin_version = '1.3.61'
repositories {
maven { url = "https://repo1.maven.org/maven2" }
maven { url "https://repo1.maven.org/maven2" }
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
@ -20,7 +20,7 @@ buildscript {
apply plugin: 'kotlin'
repositories {
maven { url = "https://repo1.maven.org/maven2" }
maven { url "https://repo1.maven.org/maven2" }
}
test {

View File

@ -10,7 +10,7 @@ buildscript {
ext.kotlin_version = '1.3.61'
repositories {
maven { url = "https://repo1.maven.org/maven2" }
maven { url "https://repo1.maven.org/maven2" }
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
@ -20,7 +20,7 @@ buildscript {
apply plugin: 'kotlin'
repositories {
maven { url = "https://repo1.maven.org/maven2" }
maven { url "https://repo1.maven.org/maven2" }
}
test {

View File

@ -11,7 +11,7 @@ buildscript {
ext.retrofitVersion = '2.6.2'
repositories {
maven { url = "https://repo1.maven.org/maven2" }
maven { url "https://repo1.maven.org/maven2" }
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
@ -21,7 +21,7 @@ buildscript {
apply plugin: 'kotlin'
repositories {
maven { url = "https://repo1.maven.org/maven2" }
maven { url "https://repo1.maven.org/maven2" }
}
test {

View File

@ -10,7 +10,7 @@ buildscript {
ext.kotlin_version = '1.3.61'
repositories {
maven { url = "https://repo1.maven.org/maven2" }
maven { url "https://repo1.maven.org/maven2" }
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
@ -20,7 +20,7 @@ buildscript {
apply plugin: 'kotlin'
repositories {
maven { url = "https://repo1.maven.org/maven2" }
maven { url "https://repo1.maven.org/maven2" }
}
test {

View File

@ -10,7 +10,7 @@ buildscript {
ext.kotlin_version = '1.3.61'
repositories {
maven { url = "https://repo1.maven.org/maven2" }
maven { url "https://repo1.maven.org/maven2" }
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
@ -20,7 +20,7 @@ buildscript {
apply plugin: 'kotlin'
repositories {
maven { url = "https://repo1.maven.org/maven2" }
maven { url "https://repo1.maven.org/maven2" }
}
test {

View File

@ -10,7 +10,7 @@ buildscript {
ext.kotlin_version = '1.3.61'
repositories {
maven { url = "https://repo1.maven.org/maven2" }
maven { url "https://repo1.maven.org/maven2" }
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
@ -20,7 +20,7 @@ buildscript {
apply plugin: 'kotlin'
repositories {
maven { url = "https://repo1.maven.org/maven2" }
maven { url "https://repo1.maven.org/maven2" }
}
test {

View File

@ -4,7 +4,7 @@ project.version = "1.0.0"
project.group = "org.openapitools"
repositories {
maven { url = "https://repo1.maven.org/maven2" }
maven { url "https://repo1.maven.org/maven2" }
}
dependencies {

View File

@ -4,7 +4,7 @@ project.version = "1.0.0"
project.group = "org.openapitools"
repositories {
maven { url = "https://repo1.maven.org/maven2" }
maven { url "https://repo1.maven.org/maven2" }
}
dependencies {

View File

@ -4,7 +4,7 @@ project.version = "1.0.0"
project.group = "org.openapitools"
repositories {
maven { url = "https://repo1.maven.org/maven2" }
maven { url "https://repo1.maven.org/maven2" }
}
dependencies {

View File

@ -12,9 +12,9 @@ buildscript {
ext.shadow_version = '2.0.3'
repositories {
maven { url = "https://repo1.maven.org/maven2" }
maven { url "https://repo1.maven.org/maven2" }
maven {
url "https://plugins.gradle.org/m2/"
url = "https://plugins.gradle.org/m2/"
}
}
dependencies {
@ -50,8 +50,8 @@ shadowJar {
}
repositories {
maven { url = "https://repo1.maven.org/maven2" }
maven { url "https://dl.bintray.com/kotlin/ktor" }
maven { url "https://repo1.maven.org/maven2" }
maven { url "https://dl.bintray.com/kotlin/ktor" }
maven { url "https://dl.bintray.com/kotlin/kotlinx" }
}