Skip to content

Commit

Permalink
Use mavenCentral instead of the gradlePluginPortal, since the latter …
Browse files Browse the repository at this point in the history
…can refer to jcenter which is now shutdown
  • Loading branch information
tdrwenski authored and haileyajohnson committed Sep 20, 2022
1 parent 9f8f54d commit 4d4f366
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
1 change: 1 addition & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ buildscript {
// The buildscript {} block is odd: even though we applied dependencies.gradle above, the repositories therein
// do not get included here. Instead, we must explicitly define the repos again. Yay for duplication.
repositories {
mavenCentral()
gradlePluginPortal()
exclusiveContent {
forRepository {
Expand Down
7 changes: 4 additions & 3 deletions gradle/any/gretty.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ buildscript {
apply from: "$rootDir/gradle/any/shared-mvn-coords.gradle"

repositories {
mavenCentral()
gradlePluginPortal()
}
dependencies {
Expand All @@ -16,14 +17,14 @@ apply from: "$rootDir/gradle/any/properties.gradle"
apply plugin: 'org.gretty'
apply plugin: 'jacoco'

// when applying the gretty buildScript to a project, make sure that project has access to the gradlePluginPortal
// which is where the gretty tomcat runners live
// when applying the gretty buildScript to a project, make sure that project has access the gretty tomcat runners
repositories {
exclusiveContent {
forRepository {
mavenCentral()
gradlePluginPortal()
}
// only look for unidata gretty related artifacts from the gradlePluginPortal
// only look for unidata gretty related artifacts from the above repos
filter {
includeGroup 'org.gretty'
}
Expand Down
1 change: 1 addition & 0 deletions gradle/root/publishing.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ buildscript {
// The buildscript {} block is odd: even though we applied dependencies.gradle above, the repositories therein
// do not get included here. Instead, we must explicitly define the repos again. Yay for duplication.
repositories {
mavenCentral()
gradlePluginPortal()
exclusiveContent {
forRepository {
Expand Down

0 comments on commit 4d4f366

Please sign in to comment.