Skip to content

Commit 31e8f8c

Browse files
marko-bekhtaDavideD
authored andcommitted
[#2305] Update optional snapshot repositories to point to central snapshots instead of ossrh ones
since now our snapshots are published to central.
1 parent 7591e96 commit 31e8f8c

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,9 @@ subprojects {
5656
// Useful for local development, it should be disabled otherwise
5757
mavenLocal()
5858
}
59-
// Example: ./gradlew build -PenableSonatypeOpenSourceSnapshotsRep
60-
if ( project.hasProperty('enableSonatypeOpenSourceSnapshotsRep') ) {
61-
maven { url 'https://oss.sonatype.org/content/repositories/snapshots/' }
59+
// Example: ./gradlew build -PenableCentralSonatypeSnapshotsRep
60+
if ( project.hasProperty('enableCentralSonatypeSnapshotsRep') ) {
61+
maven { url 'https://central.sonatype.com/repository/maven-snapshots/' }
6262
}
6363

6464
mavenCentral()

examples/native-sql-example/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ buildscript {
88
mavenLocal()
99
}
1010
// Optional: Enables snapshots repository
11-
// Example: ./gradlew build -PenableSonatypeOpenSourceSnapshotsRep
12-
if ( project.hasProperty('enableSonatypeOpenSourceSnapshotsRep') ) {
13-
maven { url 'https://oss.sonatype.org/content/repositories/snapshots/' }
11+
// Example: ./gradlew build -PenableCentralSonatypeSnapshotsRep
12+
if ( project.hasProperty('enableCentralSonatypeSnapshotsRep') ) {
13+
maven { url 'https://central.sonatype.com/repository/maven-snapshots/' }
1414
}
1515
mavenCentral()
1616
}

examples/session-example/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ buildscript {
88
mavenLocal()
99
}
1010
// Optional: Enables snapshots repository
11-
// Example: ./gradlew build -PenableSonatypeOpenSourceSnapshotsRep
12-
if ( project.hasProperty('enableSonatypeOpenSourceSnapshotsRep') ) {
13-
maven { url 'https://oss.sonatype.org/content/repositories/snapshots/' }
11+
// Example: ./gradlew build -PenableCentralSonatypeSnapshotsRep
12+
if ( project.hasProperty('enableCentralSonatypeSnapshotsRep') ) {
13+
maven { url 'https://central.sonatype.com/repository/maven-snapshots/' }
1414
}
1515
mavenCentral()
1616
}

0 commit comments

Comments
 (0)