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 59bd1b44 Add credentials for manual publication
59bd1b44 is described below

commit 59bd1b449488442707ef725631d6a54da43efdb3
Author: Paul King <[email protected]>
AuthorDate: Wed Jan 22 14:39:20 2025 +1000

    Add credentials for manual publication
---
 doc/manual/manual.gradle | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/doc/manual/manual.gradle b/doc/manual/manual.gradle
index 0d790e3c..d66dce06 100644
--- a/doc/manual/manual.gradle
+++ b/doc/manual/manual.gradle
@@ -172,6 +172,18 @@ artifacts {
 }
 
 publishing {
+    repositories {
+        maven {
+            name = "Apache"
+            url = gebModule.isSnapshot()
+                ? 
'https://repository.apache.org/content/repositories/snapshots'
+                : 
'https://repository.apache.org/service/local/staging/deploy/maven2'
+            credentials {
+                username = gebModule.isSnapshot() ? 
findProperty('asfNexusUsername') : findProperty('apacheUser')
+                password = gebModule.isSnapshot() ? 
findProperty('asfNexusPassword') : findProperty('apachePassword')
+            }
+        }
+    }
     publications {
         manual(MavenPublication) {
             artifactId = 'geb-manual'

Reply via email to