You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@grails.apache.org by jd...@apache.org on 2025/05/29 04:03:22 UTC
(grails-forge) branch 7.0.x updated (799270c -> a3ec657)
This is an automated email from the ASF dual-hosted git repository.
jdaugherty pushed a change to branch 7.0.x
in repository https://gitbox.apache.org/repos/asf/grails-forge.git
from 799270c [skip ci] Release v7.0.0-M4
new 43f5302 [skip ci] remove name to match grails-core
new 1b0b080 [skip ci] update forge to support accessing grails-core staging repos
new a3ec657 [skip ci] add wrapper task for bootstrapping
The 3 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.github/workflows/release.yml | 17 +++++++++++++++--
.sdkmanrc | 1 +
build.gradle | 1 +
buildSrc/build.gradle | 3 ++-
.../groovy/org.grails.forge.internal.aggregator.gradle | 5 -----
.../groovy/org.grails.forge.internal.base-module.gradle | 1 -
.../gradle-wrapper-root-config.gradle | 11 +++++------
grails-cli/build.gradle | 1 +
grails-forge-core/build.gradle | 1 +
9 files changed, 26 insertions(+), 15 deletions(-)
copy buildSrc/src/main/groovy/org.grails.forge.internal.test-module.gradle => gradle/gradle-wrapper-root-config.gradle (79%)
(grails-forge) 02/03: [skip ci] update forge to support accessing grails-core staging repos
Posted by jd...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
jdaugherty pushed a commit to branch 7.0.x
in repository https://gitbox.apache.org/repos/asf/grails-forge.git
commit 1b0b08011e8528e7f78c87c97ac2608839f0f44e
Author: James Daugherty <jd...@jdresources.net>
AuthorDate: Wed May 28 21:06:27 2025 -0400
[skip ci] update forge to support accessing grails-core staging repos
---
.github/workflows/release.yml | 16 +++++++++++++++-
buildSrc/build.gradle | 3 ++-
.../groovy/org.grails.forge.internal.aggregator.gradle | 5 -----
.../groovy/org.grails.forge.internal.base-module.gradle | 1 -
grails-cli/build.gradle | 1 +
grails-forge-core/build.gradle | 1 +
6 files changed, 19 insertions(+), 8 deletions(-)
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 244bb2a..1a4b670 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -70,13 +70,27 @@ jobs:
NEXUS_PUBLISH_PASSWORD: ${{ secrets.NEXUS_PUBLISH_PASSWORD }}
NEXUS_PUBLISH_URL: 'https://repository.apache.org/service/local/'
NEXUS_PUBLISH_STAGING_PROFILE_ID: ${{ secrets.STAGING_PROFILE_ID }}
- NEXUS_PUBLISH_DESCRIPTION: 'grails-release:${{ steps.release_version.outputs.value }}'
+ NEXUS_PUBLISH_DESCRIPTION: 'grails-forge:${{ steps.release_version.outputs.value }}'
SIGNING_KEY: ${{ secrets.GPG_KEY_ID }}
run: >
./gradlew
-x initializeSonatypeStagingRepository
findSonatypeStagingRepository
publishToSonatype
+ - name: "📤 Close Staging Repository"
+ env:
+ GRAILS_PUBLISH_RELEASE: 'true'
+ NEXUS_PUBLISH_USERNAME: ${{ secrets.NEXUS_STAGE_DEPLOYER_USER }}
+ NEXUS_PUBLISH_PASSWORD: ${{ secrets.NEXUS_STAGE_DEPLOYER_PW }}
+ NEXUS_PUBLISH_URL: 'https://repository.apache.org/service/local/'
+ NEXUS_PUBLISH_STAGING_PROFILE_ID: ${{ secrets.STAGING_PROFILE_ID }}
+ NEXUS_PUBLISH_DESCRIPTION: 'grails-forge:${{ steps.release_version.outputs.value }}'
+ SIGNING_KEY: ${{ secrets.GPG_KEY_ID }}
+ run: >
+ ./gradlew
+ -x initializeSonatypeStagingRepository
+ findSonatypeStagingRepository
+ closeSonatypeStagingRepository
release:
environment: release
needs: publish
diff --git a/buildSrc/build.gradle b/buildSrc/build.gradle
index b8b4cf9..c900d69 100644
--- a/buildSrc/build.gradle
+++ b/buildSrc/build.gradle
@@ -34,8 +34,9 @@ for (String key : properties.stringPropertyNames()) {
repositories {
mavenCentral()
gradlePluginPortal()
- maven { url = 'https://repository.apache.org/content/groups/snapshots' }
maven { url = 'https://repo.grails.org/grails/restricted' }
+ maven { url = 'https://repository.apache.org/content/groups/staging' }
+ maven { url = 'https://repository.apache.org/content/groups/snapshots' }
}
diff --git a/buildSrc/src/main/groovy/org.grails.forge.internal.aggregator.gradle b/buildSrc/src/main/groovy/org.grails.forge.internal.aggregator.gradle
index abcde00..a94d683 100644
--- a/buildSrc/src/main/groovy/org.grails.forge.internal.aggregator.gradle
+++ b/buildSrc/src/main/groovy/org.grails.forge.internal.aggregator.gradle
@@ -21,11 +21,6 @@ plugins {
id "io.micronaut.build.internal.docs"
}
-repositories {
- // Needed for Javadoc generation
- maven { url = 'https://s01.oss.sonatype.org/content/repositories/snapshots' }
-}
-
configurations {
asciidocs {
canBeResolved = true
diff --git a/buildSrc/src/main/groovy/org.grails.forge.internal.base-module.gradle b/buildSrc/src/main/groovy/org.grails.forge.internal.base-module.gradle
index 1185656..394432d 100644
--- a/buildSrc/src/main/groovy/org.grails.forge.internal.base-module.gradle
+++ b/buildSrc/src/main/groovy/org.grails.forge.internal.base-module.gradle
@@ -29,7 +29,6 @@ plugins {
repositories {
mavenCentral()
- maven { url = 'https://s01.oss.sonatype.org/content/repositories/snapshots' }
}
version = project.projectVersion
diff --git a/grails-cli/build.gradle b/grails-cli/build.gradle
index f703a4f..53a753e 100644
--- a/grails-cli/build.gradle
+++ b/grails-cli/build.gradle
@@ -41,6 +41,7 @@ repositories {
mavenCentral()
gradlePluginPortal()
maven { url = 'https://repo.grails.org/grails/restricted' }
+ maven { url = 'https://repository.apache.org/content/groups/staging' }
maven { url = 'https://repository.apache.org/content/groups/snapshots' }
}
diff --git a/grails-forge-core/build.gradle b/grails-forge-core/build.gradle
index 178a851..8c7501c 100644
--- a/grails-forge-core/build.gradle
+++ b/grails-forge-core/build.gradle
@@ -83,6 +83,7 @@ nohttp {
repositories {
// mavenLocal()
maven { url = 'https://repo.grails.org/grails/restricted' }
+ maven { url = 'https://repository.apache.org/content/groups/staging' }
maven { url = 'https://repository.apache.org/content/groups/snapshots' }
mavenCentral()
}
(grails-forge) 03/03: [skip ci] add wrapper task for bootstrapping
Posted by jd...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
jdaugherty pushed a commit to branch 7.0.x
in repository https://gitbox.apache.org/repos/asf/grails-forge.git
commit a3ec6577a11344a4760ade8768eab9a2ebb66f27
Author: James Daugherty <jd...@jdresources.net>
AuthorDate: Wed May 28 21:28:19 2025 -0400
[skip ci] add wrapper task for bootstrapping
---
.sdkmanrc | 1 +
build.gradle | 1 +
gradle/gradle-wrapper-root-config.gradle | 25 +++++++++++++++++++++++++
3 files changed, 27 insertions(+)
diff --git a/.sdkmanrc b/.sdkmanrc
index 9973880..189e5d9 100644
--- a/.sdkmanrc
+++ b/.sdkmanrc
@@ -1 +1,2 @@
java=17.0.15-librca
+gradle=8.14
\ No newline at end of file
diff --git a/build.gradle b/build.gradle
index f9da6ab..64fcead 100644
--- a/build.gradle
+++ b/build.gradle
@@ -44,5 +44,6 @@ tasks.named('build').configure {
}
apply {
+ from layout.projectDirectory.file('gradle/gradle-wrapper-root-config.gradle')
from layout.projectDirectory.file('gradle/rat-root-config.gradle')
}
\ No newline at end of file
diff --git a/gradle/gradle-wrapper-root-config.gradle b/gradle/gradle-wrapper-root-config.gradle
new file mode 100644
index 0000000..17b3d6b
--- /dev/null
+++ b/gradle/gradle-wrapper-root-config.gradle
@@ -0,0 +1,25 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+def props = new Properties()
+project.rootProject.layout.projectDirectory.file('.sdkmanrc').asFile.withInputStream {
+ props.load(it)
+}
+tasks.withType(Wrapper).configureEach {
+ gradleVersion = props.gradle
+}
(grails-forge) 01/03: [skip ci] remove name to match grails-core
Posted by jd...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
jdaugherty pushed a commit to branch 7.0.x
in repository https://gitbox.apache.org/repos/asf/grails-forge.git
commit 43f5302404c8c6594016a02f9224113b519cf519
Author: James Daugherty <jd...@jdresources.net>
AuthorDate: Wed May 28 20:22:11 2025 -0400
[skip ci] remove name to match grails-core
---
.github/workflows/release.yml | 1 -
1 file changed, 1 deletion(-)
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 2a3dfb7..244bb2a 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -19,7 +19,6 @@ on:
types: [ published ]
jobs:
publish:
- name: "Release artifacts to GitHub release and SDKMAN plus publish source and documentation"
runs-on: ubuntu-24.04
permissions:
contents: write # to create release and upload wrapper