This is an automated email from the ASF dual-hosted git repository.

paulk pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/groovy-geb.git


The following commit(s) were added to refs/heads/master by this push:
     new 72eea421 prepare for gathering apache manuals from changed maven 
coordinates
72eea421 is described below

commit 72eea421dae957c914bae6dbf79aef88694a5421
Author: Paul King <[email protected]>
AuthorDate: Thu Jan 23 09:29:33 2025 +1000

    prepare for gathering apache manuals from changed maven coordinates
---
 buildSrc/src/main/groovy/org/gebish/gradle/task/GatherManuals.groovy | 4 +++-
 doc/site/site.gradle                                                 | 3 +--
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git 
a/buildSrc/src/main/groovy/org/gebish/gradle/task/GatherManuals.groovy 
b/buildSrc/src/main/groovy/org/gebish/gradle/task/GatherManuals.groovy
index 948c4674..e1d9452c 100644
--- a/buildSrc/src/main/groovy/org/gebish/gradle/task/GatherManuals.groovy
+++ b/buildSrc/src/main/groovy/org/gebish/gradle/task/GatherManuals.groovy
@@ -41,7 +41,9 @@ class GatherManuals extends Sync {
 
     private Provider<Configuration> publishedManual(Provider<String> version) {
         version.map {
-            def dependency = 
project.dependencies.create("org.gebish:geb-manual:${it}@zip")
+            def preApache = it[0].toInteger() < 8
+            def prefix = preApache ? 'org.gebish' : 'org.apache.groovy.geb'
+            def dependency = 
project.dependencies.create("$prefix:geb-manual:${it}@zip")
             project.configurations.detachedConfiguration(dependency)
         }
     }
diff --git a/doc/site/site.gradle b/doc/site/site.gradle
index 4281e843..31a9dd4d 100644
--- a/doc/site/site.gradle
+++ b/doc/site/site.gradle
@@ -26,8 +26,7 @@ plugins {
 
 repositories {
     mavenCentral()
-    maven { url = "https://oss.sonatype.org/content/repositories/snapshots"; }
-    maven { url = "https://oss.sonatype.org/content/repositories/releases"; }
+    maven { url = 
"https://repository.apache.org/content/repositories/snapshots"; }
 }
 
 configurations {

Reply via email to