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

jamesfredley pushed a commit to branch add-spring-security-redis
in repository https://gitbox.apache.org/repos/asf/grails-static-website.git

commit 3108ba7ab81de478128576ba9380dd788bf526ea
Author: James Fredley <[email protected]>
AuthorDate: Wed Jun 18 13:32:45 2025 -0400

    Add source download and release notes links for spring-security and redis 
plugins
    
    on the download page
---
 .../org/grails/documentation/DownloadPage.groovy   | 26 +++++++++++++++++-----
 1 file changed, 21 insertions(+), 5 deletions(-)

diff --git 
a/buildSrc/src/main/groovy/org/grails/documentation/DownloadPage.groovy 
b/buildSrc/src/main/groovy/org/grails/documentation/DownloadPage.groovy
index c7e43f872d..6c0040c30f 100644
--- a/buildSrc/src/main/groovy/org/grails/documentation/DownloadPage.groovy
+++ b/buildSrc/src/main/groovy/org/grails/documentation/DownloadPage.groovy
@@ -25,12 +25,12 @@ import groovy.xml.MarkupBuilder
 @CompileStatic
 class DownloadPage {
 
-    static String binaryUrl(String version, String artifact, String ext = '') {
-        
"https://www.apache.org/dyn/closer.lua/grails/core/${version}/distribution/apache-${artifact}-${version}-incubating-bin.zip${ext}?action=download";
+    static String binaryUrl(String version, String artifact, String ext = '', 
String directory = 'core') {
+        
"https://www.apache.org/dyn/closer.lua/grails/${directory}/${version}/distribution/apache-${artifact}-${version}-incubating-bin.zip${ext}?action=download";
     }
 
-    static String sourceUrl(String version, String ext = '') {
-        
"https://www.apache.org/dyn/closer.lua/grails/core/${version}/sources/apache-grails-${version}-incubating-src.zip${ext}?action=download";
+    static String sourceUrl(String version, String ext = '', String 
artifact='grails', String directory = 'core') {
+        
"https://www.apache.org/dyn/closer.lua/grails/${directory}/${version}/sources/apache-${artifact}-${version}-incubating-src.zip${ext}?action=download";
     }
 
     @CompileDynamic
@@ -62,13 +62,29 @@ class DownloadPage {
                             a(href: binaryUrl(version, 'grails-wrapper', 
'.sha512'), 'SHA512')
                             a(href: binaryUrl(version, 'grails-wrapper', 
'.asc'), 'ASC')
                         }
+                        li {
+                            a(href: sourceUrl(version,'', 
'grails-spring-security', 'spring-security'), 'Grails Spring Security Plugin 
Source')
+                            a(href: sourceUrl(version,'.sha512', 
'grails-spring-security', 'spring-security'), 'SHA512')
+                            a(href: 
sourceUrl(version,'.asc','grails-spring-security', 'spring-security'), 'ASC')
+                        }
+                        li {
+                            a(href: sourceUrl('5.0.0-M4',  '', 'grails-redis', 
'redis'), 'Grails Redis 5.0.0-M4 Plugin Source')
+                            a(href: sourceUrl('5.0.0-M4',  '.sha512', 
'grails-redis','redis'), 'SHA512')
+                            a(href: sourceUrl('5.0.0-M4',  
'.asc','grails-redis', 'redis'), 'ASC')
+                        }
                     } else {
                         li {
                             a(href: 
"https://github.com/apache/grails-forge/releases/download/v${version}/grails-cli-${version}.zip";,
 'Binary')
                         }
                     }
                     li {
-                        a(href: 
"https://github.com/apache/grails-core/releases/tag/v${version}";, 'Release 
Notes')
+                        a(href: 
"https://github.com/apache/grails-core/releases/tag/v${version}";, 'Grails 
Release Notes')
+                    }
+                    li {
+                        a(href: 
"https://github.com/apache/grails-spring-security/releases/tag/v${version}";, 
'Grails Spring Security Plugin Release Notes')
+                    }
+                    li {
+                        a(href: 
"https://github.com/apache/grails-redis/releases/tag/v5.0.0-M4";, 'Grails Redis 
5.0.0-M4 Plugin Release Notes')
                     }
                 }
             }

Reply via email to