From bc4335b56681ace04e6b4fe36c2d187100349823 Mon Sep 17 00:00:00 2001 From: Stephen Gold Date: Fri, 6 Oct 2023 09:55:16 -0700 Subject: [PATCH] buildscript: move the "repositories" block to settings.gradle --- build.gradle | 7 ------- settings.gradle | 10 ++++++++++ 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/build.gradle b/build.gradle index a116ffa7..264899e3 100644 --- a/build.gradle +++ b/build.gradle @@ -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: diff --git a/settings.gradle b/settings.gradle index 4d241734..36a1e910 100644 --- a/settings.gradle +++ b/settings.gradle @@ -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'