This is an automated email from the ASF dual-hosted git repository.
jamesfredley pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/grails-static-website.git
The following commit(s) were added to refs/heads/master by this push:
new 53c399654a Update redis, quartz and spring security plugin versions on
downloads page
53c399654a is described below
commit 53c399654a5c3bce7afbc2917cc9ca9ca7bb843d
Author: James Fredley <[email protected]>
AuthorDate: Sat Aug 2 19:07:39 2025 -0400
Update redis, quartz and spring security plugin versions on downloads page
---
.../org/grails/documentation/DownloadPage.groovy | 100 ++++++++++++---------
1 file changed, 56 insertions(+), 44 deletions(-)
diff --git
a/buildSrc/src/main/groovy/org/grails/documentation/DownloadPage.groovy
b/buildSrc/src/main/groovy/org/grails/documentation/DownloadPage.groovy
index 1953a2e7c2..c5aaf81162 100644
--- a/buildSrc/src/main/groovy/org/grails/documentation/DownloadPage.groovy
+++ b/buildSrc/src/main/groovy/org/grails/documentation/DownloadPage.groovy
@@ -36,62 +36,74 @@ class DownloadPage {
@CompileDynamic
static String renderDownload(String version) {
+ String redisVersion = '5.0.0-M5'
+ String quartzVersion = '4.0.0-M3'
+ String springSecurityVersion = '7.0.0-M5'
+
StringWriter writer = new StringWriter()
MarkupBuilder html = new MarkupBuilder(writer)
boolean isSnapshot = version.endsWith('-SNAPSHOT') ||
version.contains('snapshot')
if (!isSnapshot) {
html.div(class: "guidegroup") {
- if (version) {
- div(class: "guidegroupheader") {
- img(src: "[%url]/images/download.svg", alt: "Download
Grails (${version})")
- h2 "${isSnapshot ? 'Snapshot' : (version.contains('-M') ?
'Milestone' : (version.contains('-RC') ? 'Release Candidate': 'Latest
Stable'))} Version (${version}) Downloads"
- }
- ul {
- if (version.startsWith('7')) {
- li {
- a(href: sourceUrl(version), 'Source')
- a(href: sourceUrl(version, 'grails', '.sha512'),
'SHA512')
- a(href: sourceUrl(version, 'grails', '.asc'),
'ASC')
- }
- li {
- a(href: binaryUrl(version, 'grails'), 'Binary')
- a(href: binaryUrl(version, 'grails', '.sha512'),
'SHA512')
- a(href: binaryUrl(version, 'grails', '.asc'),
'ASC')
- }
- li {
- a(href: binaryUrl(version, 'grails-wrapper'),
'Binary Wrapper')
- 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,
'grails-spring-security', '.sha512', 'spring-security'), 'SHA512')
- a(href: sourceUrl(version,
'grails-spring-security', '.asc', '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', 'grails-redis',
'.sha512', 'redis'), 'SHA512')
- a(href: sourceUrl('5.0.0-M4', 'grails-redis',
'.asc', 'redis'), 'ASC')
- }
- } else {
- li {
- a(href:
"https://github.com/apache/grails-forge/releases/download/v${version}/grails-cli-${version}.zip",
'Binary')
- }
+ if (version) {
+ div(class: "guidegroupheader") {
+ img(src: "[%url]/images/download.svg", alt: "Download
Grails (${version})")
+ h2 "${isSnapshot ? 'Snapshot' :
(version.contains('-M') ? 'Milestone' : (version.contains('-RC') ? 'Release
Candidate': 'Latest Stable'))} Version (${version}) Downloads"
}
- li {
- a(href:
"https://github.com/apache/grails-core/releases/tag/v${version}", 'Grails
Release Notes')
- }
- if (version.startsWith('7')) {
- li {
- a(href:
"https://github.com/apache/grails-spring-security/releases/tag/v${version}",
'Grails Spring Security Plugin Release Notes')
+ ul {
+ if (version.startsWith('7')) {
+ li {
+ a(href: sourceUrl(version), 'Source')
+ a(href: sourceUrl(version, 'grails',
'.sha512'), 'SHA512')
+ a(href: sourceUrl(version, 'grails', '.asc'),
'ASC')
+ }
+ li {
+ a(href: binaryUrl(version, 'grails'), 'Binary')
+ a(href: binaryUrl(version, 'grails',
'.sha512'), 'SHA512')
+ a(href: binaryUrl(version, 'grails', '.asc'),
'ASC')
+ }
+ li {
+ a(href: binaryUrl(version, 'grails-wrapper'),
'Binary Wrapper')
+ a(href: binaryUrl(version, 'grails-wrapper',
'.sha512'), 'SHA512')
+ a(href: binaryUrl(version, 'grails-wrapper',
'.asc'), 'ASC')
+ }
+ li {
+ a(href: sourceUrl(springSecurityVersion,
'grails-spring-security', '', 'spring-security'), "Grails Spring Security
${springSecurityVersion} Plugin Source")
+ a(href: sourceUrl(springSecurityVersion,
'grails-spring-security', '.sha512', 'spring-security'), 'SHA512')
+ a(href: sourceUrl(springSecurityVersion,
'grails-spring-security', '.asc', 'spring-security'), 'ASC')
+ }
+ li {
+ a(href: sourceUrl(redisVersion,
'grails-redis', '', 'redis'), "Grails Redis ${redisVersion} Plugin Source")
+ a(href: sourceUrl(redisVersion,
'grails-redis', '.sha512', 'redis'), 'SHA512')
+ a(href: sourceUrl(redisVersion,
'grails-redis', '.asc', 'redis'), 'ASC')
+ }
+ li {
+ a(href: sourceUrl(quartzVersion,
'grails-quartz', '', 'quartz'), "Grails Quartz ${quartzVersion} Plugin Source")
+ a(href: sourceUrl(quartzVersion,
'grails-quartz', '.sha512', 'quartz'), 'SHA512')
+ a(href: sourceUrl(quartzVersion,
'grails-quartz', '.asc', 'quartz'), '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-redis/releases/tag/v5.0.0-M4", 'Grails Redis
5.0.0-M4 Plugin Release Notes')
+ a(href:
"https://github.com/apache/grails-core/releases/tag/v${version}", 'Grails
Release Notes')
+ }
+ if (version.startsWith('7')) {
+ li {
+ a(href:
"https://github.com/apache/grails-spring-security/releases/tag/v${springSecurityVersion}",
"Grails Spring Security Plugin ${springSecurityVersion} Release Notes")
+ }
+ li {
+ a(href:
"https://github.com/apache/grails-redis/releases/tag/v${redisVersion}", "Grails
Redis ${redisVersion} Plugin Release Notes")
+ }
+ li {
+ a(href:
"https://github.com/apache/grails-quartz/releases/tag/v${quartzVersion}",
"Grails Quartz ${quartzVersion} Plugin Release Notes")
+ }
}
}
}
}
- }
}
writer.toString()
}