Skip to content

Commit 66ae605

Browse files
committed
Merge branch '7.1.x' into 8.0.x
# Conflicts: # grails-gradle/plugins/src/main/groovy/org/grails/gradle/plugin/core/GrailsGradlePlugin.groovy
2 parents b5f559f + 9819ebe commit 66ae605

File tree

280 files changed

+3152
-1523
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

280 files changed

+3152
-1523
lines changed

.github/workflows/gradle.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ jobs:
7070
strategy:
7171
fail-fast: false
7272
matrix:
73-
java: [ 17, 21, 24 ]
73+
java: [ 17, 21, 25 ]
7474
os: [ ubuntu-latest, windows-latest, macos-latest ]
7575
runs-on: ${{ matrix.os }}
7676
steps:
@@ -156,7 +156,7 @@ jobs:
156156
strategy:
157157
fail-fast: false
158158
matrix:
159-
java: [ 17, 21, 24 ]
159+
java: [ 17, 21, 25 ]
160160
runs-on: ubuntu-24.04
161161
steps:
162162
- name: "Output Agent IP" # in the event RAO blocks this agent, this can be used to debug it

.github/workflows/groovy-joint-workflow.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -152,9 +152,6 @@ jobs:
152152
with:
153153
path: ~/.m2/repository
154154
key: cache-local-maven-${{ github.sha }}
155-
- name: "🪶 Add mavenLocal repository to build"
156-
run: |
157-
sed -i 's|// mavenLocal() // Keep|mavenLocal() // Keep|' settings.gradle
158155
- name: 'Swap Groovy Version'
159156
run: |
160157
sed -i "/['\"]groovy\.version['\"][[:space:]]*:/c\'groovy.version':'${{ needs.build_groovy.outputs.groovyVersion }}'," dependencies.gradle
@@ -163,3 +160,5 @@ jobs:
163160
./gradlew build
164161
-x groovydoc
165162
-PskipCodeStyle
163+
env:
164+
GRAILS_INCLUDE_MAVEN_LOCAL: true

.github/workflows/release-notes.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ on:
2929
workflow_dispatch:
3030
# queue jobs and only allow 1 run per branch due to the likelihood of hitting GitHub resource limits
3131
concurrency:
32-
group: ${{ github.workflow }}-${{ github.ref }}
32+
group: release-pipeline
3333
cancel-in-progress: false
3434
jobs:
3535
update_release_draft:

.github/workflows/release.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@ env:
3737
TAG: ${{ github.event.release.tag_name }}
3838
TARGET_BRANCH: ${{ github.event.release.target_commitish }}
3939
VERSION: will be computed in each job
40+
concurrency:
41+
group: release-pipeline
42+
cancel-in-progress: false
4043
jobs:
4144
publish:
4245
name: "Stage Jar Files"
@@ -664,6 +667,8 @@ jobs:
664667
echo "::group::Add version to the Grails Website - MANUAL"
665668
echo "Add the released version [${VERSION}] to the Grails Website by running the Release workflow:"
666669
echo "https://github.com/apache/grails-static-website/actions/workflows/release.yml"
670+
echo "Republish Grails Website by running the Publish workflow:"
671+
echo "https://github.com/apache/grails-static-website/actions/workflows/publish.yml"
667672
echo "::endgroup::"
668673
- name: '📧 Announcement Email'
669674
run: |

.idea/codeStyles/Project.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.sdkmanrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
java=17.0.17-librca
2-
gradle=8.14.3
2+
gradle=8.14.4
33

INSTALL

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,10 @@ By default, the Grails CLI uses standard maven repos to retrieve upstream Grails
9191

9292
export GRAILS_REPO_URL=$HOME/.m2/repository
9393

94+
This variable also supports multiple repositories by using the separator ';'. For example:
95+
96+
export GRAILS_REPO_URL=$HOME/.m2/repository;https://repo1.maven.org/maven2/
97+
9498
The CLI distributions are located under the `grails-forge/grails-cli` project. The build directory contains the CLI distribution, which can be used to create a Grails Application. Unzip it to any location, for the purposes of this document, we will use `grails-forge/grails-cli/build/distributions` as the working directory.
9599

96100
cd grails-forge/grails-cli/build/distributions

RELEASE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -405,7 +405,7 @@ In the event that artifacts differ, simply copy them to your project directory a
405405
406406
```bash
407407
cd ~/project
408-
rsync -av grails-verify/grails/etc/bin/results/ etc/bin/results/
408+
rsync -av ../grails-verify/grails/etc/bin/results/ etc/bin/results/
409409
```
410410
411411
# Appendix: Versioning

build-logic/docs-core/src/main/groovy/org/apache/grails/gradle/tasks/bom/CoordinateHolder.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ import groovy.transform.ToString
2626
@EqualsAndHashCode(includes = ['groupId', 'artifactId'])
2727
@CompileStatic
2828
@ToString
29-
class CoordinateHolder {
29+
class CoordinateHolder implements Serializable {
3030

3131
String groupId
3232
String artifactId

build-logic/docs-core/src/main/groovy/org/apache/grails/gradle/tasks/bom/CoordinateVersionHolder.groovy

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,14 @@ class CoordinateVersionHolder extends CoordinateHolder {
4343

4444
"$groupId:$artifactId:$version" as String
4545
}
46+
47+
static CoordinateVersionHolder create(String coordinates) {
48+
coordinates.split(':').with { String[] parts ->
49+
new CoordinateVersionHolder(
50+
groupId: parts[0],
51+
artifactId: parts[1],
52+
version: parts[2]
53+
)
54+
}
55+
}
4656
}

0 commit comments

Comments
 (0)