File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ variables:
2323 DEPENDENCY_CACHE_POLICY : pull
2424 BUILD_CACHE_POLICY : pull
2525 GRADLE_VERSION : " 8.4" # must match gradle-wrapper.properties
26+ MAVEN_REPOSITORY_PROXY : " https://artifactual.us1.prod.dog/repository/maven-central/"
2627 JAVA_BUILD_IMAGE_VERSION : " v25.01"
2728 REPO_NOTIFICATION_CHANNEL : " #apm-java-escalations"
2829 PROFILE_TESTS :
@@ -74,7 +75,7 @@ default:
7475 policy : $BUILD_CACHE_POLICY
7576 before_script :
7677 - export GRADLE_USER_HOME=`pwd`/.gradle
77- - export GRADLE_ARGS=" --build-cache --stacktrace --no-daemon --parallel --max-workers=$GRADLE_WORKERS"
78+ - export GRADLE_ARGS=" --build-cache --stacktrace --no-daemon --parallel --max-workers=$GRADLE_WORKERS -PmavenRepositoryProxy=$MAVEN_REPOSITORY_PROXY "
7879 - *normalize_node_index
7980 # for weird reasons, gradle will always "chmod 700" the .gradle folder
8081 # with Gitlab caching, .gradle is always owned by root and thus gradle's chmod invocation fails
@@ -199,10 +200,8 @@ muzzle:
199200 needs : [ build ]
200201 stage : tests
201202 parallel : 8
202- rules :
203- - when : never
204203 variables :
205- BUILD_CACHE_TYPE : test
204+ BUILD_CACHE_TYPE : lib
206205 script :
207206 - export SKIP_BUILDSCAN="true"
208207 - ./gradlew writeMuzzleTasksToFile $GRADLE_ARGS
Original file line number Diff line number Diff line change 11repositories {
2+ if (project. rootProject. hasProperty(" mavenRepositoryProxy" )) {
3+ maven {
4+ url project. rootProject. property(" mavenRepositoryProxy" )
5+ }
6+ }
27 mavenLocal()
38 mavenCentral()
49 // add sonatype repository for snapshot dependencies
You can’t perform that action at this time.
0 commit comments