File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -23,11 +23,11 @@ dependencyResolutionManagement {
2323dependencyResolutionManagement {
2424 repositoriesMode = RepositoriesMode .FAIL_ON_PROJECT_REPOS
2525 repositories {
26- mavenCentral()
27- gradlePluginPortal()
2826 if (System .getProperty(" withMavenLocal" , " false" ).toBoolean()) {
2927 mavenLocal()
3028 }
29+ mavenCentral()
30+ gradlePluginPortal()
3131 if (System .getProperty(" withApacheSnapshots" , " false" ).toBoolean()) {
3232 maven {
3333 name = " Apache Snapshots"
Original file line number Diff line number Diff line change @@ -27,22 +27,22 @@ val baseVersion = file("version.txt").readText().trim()
2727
2828pluginManagement {
2929 repositories {
30- mavenCentral() // prefer Maven Central, in case Gradle's repo has issues
31- gradlePluginPortal()
3230 if (System .getProperty(" withMavenLocal" ).toBoolean()) {
3331 mavenLocal()
3432 }
33+ mavenCentral() // prefer Maven Central, in case Gradle's repo has issues
34+ gradlePluginPortal()
3535 }
3636}
3737
3838dependencyResolutionManagement {
3939 repositoriesMode = RepositoriesMode .FAIL_ON_PROJECT_REPOS
4040 repositories {
41- mavenCentral()
42- gradlePluginPortal()
4341 if (System .getProperty(" withMavenLocal" , " false" ).toBoolean()) {
4442 mavenLocal()
4543 }
44+ mavenCentral()
45+ gradlePluginPortal()
4646 if (System .getProperty(" withApacheSnapshots" , " false" ).toBoolean()) {
4747 maven {
4848 name = " Apache Snapshots"
You can’t perform that action at this time.
0 commit comments