Skip to content

Commit e9b2907

Browse files
committed
HHH-20341 Do not allow falling back to hitting Maven Central when setting MAVEN_MIRROR
So that we know for sure the mirror is being used.
1 parent bb9283d commit e9b2907

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

settings.gradle

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,9 @@ dependencyResolutionManagement {
3333
allowInsecureProtocol = true
3434
}
3535
}
36-
37-
mavenCentral()
36+
else {
37+
mavenCentral()
38+
}
3839

3940
if (System.getProperty('JPA_PREVIEW') != null) {
4041
maven {

0 commit comments

Comments
 (0)