File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -16,7 +16,6 @@ default:
1616 before_script :
1717 - ' [ "${CANCELLED:-}" != "true" ] || { echo "No PR for this branch — skipping job"; exit 0; }'
1818 - export ORG_GRADLE_PROJECT_mavenRepositoryProxy=${MAVEN_REPOSITORY_PROXY}
19- - export ORG_GRADLE_PROJECT_gradlePluginProxy=${MAVEN_REPOSITORY_PROXY}
2019
2120stages :
2221 - images
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ function get_version() {
1010 if [ -z " $gradlecmd " ]; then
1111 gradlecmd=" ./gradlew"
1212 fi
13- ${gradlecmd} printVersion --max-workers=1 --build-cache --stacktrace --info --no-watch-fs --no-daemon | grep ' Version:' | cut -f2 -d' ' > .version
13+ ${gradlecmd} printVersion --max-workers=1 --no- build-cache --stacktrace --info --no-watch-fs --no-daemon | grep ' Version:' | cut -f2 -d' ' > .version
1414 local version=$( cat .version)
1515 if [ -z " $version " ]; then
1616 echo " ERROR: Failed to determine version from Gradle printVersion task" >&2
Original file line number Diff line number Diff line change @@ -3,11 +3,6 @@ plugins {
33}
44
55repositories {
6- val proxy = gradle.startParameter.projectProperties[" mavenRepositoryProxy" ]
7- ? : System .getenv(" ORG_GRADLE_PROJECT_mavenRepositoryProxy" )
8- if (proxy != null ) {
9- maven { url = uri(proxy) }
10- }
116 gradlePluginPortal()
127 mavenCentral()
138}
Original file line number Diff line number Diff line change 1- pluginManagement {
2- def proxy = gradle. startParameter. projectProperties[' mavenRepositoryProxy' ]
3- ?: System . getenv(' ORG_GRADLE_PROJECT_mavenRepositoryProxy' )
4- repositories {
5- if (proxy) {
6- maven { url proxy }
7- }
8- gradlePluginPortal()
9- mavenCentral()
10- }
11- }
12-
131rootProject. name = ' build-logic'
142
153include ' conventions'
Original file line number Diff line number Diff line change @@ -5,11 +5,6 @@ buildscript {
55 classpath(" com.dipien:semantic-version-gradle-plugin:2.0.0" )
66 }
77 repositories {
8- val proxy = gradle.startParameter.projectProperties[" mavenRepositoryProxy" ]
9- ? : System .getenv(" ORG_GRADLE_PROJECT_mavenRepositoryProxy" )
10- if (proxy != null ) {
11- maven { url = uri(proxy) }
12- }
138 mavenLocal()
149 mavenCentral()
1510 gradlePluginPortal()
Original file line number Diff line number Diff line change 11pluginManagement {
22 includeBuild(" build-logic" )
3- val gradlePluginProxy = providers.gradleProperty(" gradlePluginProxy" ).orNull
43 repositories {
5- if (gradlePluginProxy != null ) {
6- maven { url = uri(gradlePluginProxy) }
7- }
84 gradlePluginPortal()
95 mavenCentral()
106 }
You can’t perform that action at this time.
0 commit comments