Skip to content

Commit

Permalink
buildscript: move the "repositories" block to settings.gradle
Browse files Browse the repository at this point in the history
  • Loading branch information
stephengold committed Oct 6, 2023
1 parent 1c1d3cf commit bc4335b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
7 changes: 0 additions & 7 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -57,13 +57,6 @@ application {
configurations.all {
resolutionStrategy.cacheChangingModulesFor 0, 'seconds' // to disable caching of SNAPSHOTs
}
repositories {
//mavenLocal() // to find local SNAPSHOTs of libraries
mavenCentral()
maven { url 'https://jitpack.io' } // to find jme3_xbuf_loader (see below)
//maven { url 'https://s01.oss.sonatype.org/content/groups/staging' } // to find libraries staged but not yet released
//maven { url 'https://s01.oss.sonatype.org/content/repositories/snapshots' } // to find public SNAPSHOTs of libraries
}

dependencies {
// from mavenCentral (or mavenLocal) repositories:
Expand Down
10 changes: 10 additions & 0 deletions settings.gradle
Original file line number Diff line number Diff line change
@@ -1 +1,11 @@
dependencyResolutionManagement {
repositories {
//mavenLocal() // to find local SNAPSHOTs of libraries
mavenCentral() // to find libraries released to the Maven Central repository
maven { url 'https://jitpack.io' } // to find jme3_xbuf_loader
//maven { url 'https://s01.oss.sonatype.org/content/groups/staging' } // to find libraries staged but not yet released
//maven { url 'https://s01.oss.sonatype.org/content/repositories/snapshots' } // to find public SNAPSHOTs of libraries
}
}

rootProject.name = 'Maud'

0 comments on commit bc4335b

Please sign in to comment.