From c518ec367b12a34017bc2597ba7910eab879a9cb Mon Sep 17 00:00:00 2001 From: James Fredley Date: Mon, 9 Dec 2024 11:49:46 -0500 Subject: [PATCH] comment out mavenLocal(), move to last and add comment about commits centralize repository config to top level build.gradle file --- build.gradle | 7 +++++++ .../build.gradle | 5 ----- examples/audit-test/build.gradle | 5 ----- plugin/build.gradle | 6 ------ 4 files changed, 7 insertions(+), 16 deletions(-) create mode 100644 build.gradle diff --git a/build.gradle b/build.gradle new file mode 100644 index 00000000..acc51a7b --- /dev/null +++ b/build.gradle @@ -0,0 +1,7 @@ +allprojects { + repositories { + maven { url "https://repo.grails.org/grails/core" } + mavenCentral() +// mavenLocal() // for local testing, do not commit uncommented + } +} \ No newline at end of file diff --git a/examples/audit-test-allow-update-outside-transaction/build.gradle b/examples/audit-test-allow-update-outside-transaction/build.gradle index d6b9ffe8..d501bb1a 100644 --- a/examples/audit-test-allow-update-outside-transaction/build.gradle +++ b/examples/audit-test-allow-update-outside-transaction/build.gradle @@ -34,11 +34,6 @@ assets { minifyCss = true } -repositories { - mavenLocal() - maven { url "https://repo.grails.org/grails/core" } -} - configurations { developmentOnly runtimeOnlyClasspath { diff --git a/examples/audit-test/build.gradle b/examples/audit-test/build.gradle index e90b284d..fa74af04 100644 --- a/examples/audit-test/build.gradle +++ b/examples/audit-test/build.gradle @@ -33,11 +33,6 @@ assets { minifyCss = true } -repositories { - mavenLocal() - maven { url "https://repo.grails.org/grails/core" } -} - configurations { developmentOnly runtimeOnlyClasspath { diff --git a/plugin/build.gradle b/plugin/build.gradle index 5ca7f9ae..1e1c2cfd 100644 --- a/plugin/build.gradle +++ b/plugin/build.gradle @@ -27,12 +27,6 @@ ext { gradleWrapperVersion = project.gradleWrapperVersion } -repositories { - mavenLocal() - mavenCentral() - maven { url "https://repo.grails.org/grails/core" } -} - compileJava.options.release = 17 dependencies {