File tree Expand file tree Collapse file tree
src/main/groovy/org/apache/beam/gradle Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -52,12 +52,10 @@ plugins {
5252
5353// Define the set of repositories required to fetch and enable plugins.
5454repositories {
55- if (isMavenAccessible) {
56- maven { url = uri(" https://plugins.gradle.org/m2/" ) }
57- } else {
55+ if (! isMavenAccessible) {
5856 maven { url = uri(mavenCentralMirrorUrl) }
59- maven { url = uri(" https://plugins.gradle.org/m2/" ) }
6057 }
58+ maven { url = uri(" https://plugins.gradle.org/m2/" ) }
6159 maven {
6260 url = uri(" https://repo.spring.io/plugins-release/" )
6361 content { includeGroup(" io.spring.gradle" ) }
Original file line number Diff line number Diff line change @@ -104,10 +104,10 @@ class Repositories {
104104 mavenLocal()
105105 if (checkMavenCentral()) {
106106 mavenCentral()
107- maven { url " https://plugins.gradle.org/m2/" }
108107 } else {
109108 maven { url " https://maven-central.storage-download.googleapis.com/maven2/" }
110109 }
110+ maven { url " https://plugins.gradle.org/m2/" }
111111 maven { url " https://repo.spring.io/plugins-release" }
112112 maven { url " https://packages.confluent.io/maven/" }
113113 maven { url project. offlineRepositoryRoot }
Original file line number Diff line number Diff line change @@ -38,12 +38,10 @@ pluginManagement {
3838 }
3939
4040 repositories {
41- if (isMavenAccessible) {
42- gradlePluginPortal()
43- } else {
41+ if (! isMavenAccessible) {
4442 maven { url = uri(mavenCentralMirrorUrl) }
45- gradlePluginPortal()
4643 }
44+ gradlePluginPortal()
4745 }
4846 plugins {
4947 id(" org.javacc.javacc" ) version " 4.0.3" // enable the JavaCC parser generator
You can’t perform that action at this time.
0 commit comments