Skip to content

Commit 4660a25

Browse files
committed
apache coordinate change
1 parent 2065a26 commit 4660a25

File tree

7 files changed

+53
-49
lines changed

7 files changed

+53
-49
lines changed

.github/workflows/gradle.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
- name: "🐘 Setup Gradle"
2525
uses: gradle/actions/setup-gradle@v4
2626
with:
27-
develocity-access-key: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
27+
develocity-access-key: ${{ secrets.GRAILS_DEVELOCITY_ACCESS_KEY }}
2828
- name: "🔨 Run Build"
2929
id: build
3030
env:
@@ -48,14 +48,14 @@ jobs:
4848
- name: "🐘 Setup Gradle"
4949
uses: gradle/actions/setup-gradle@v4
5050
with:
51-
develocity-access-key: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
51+
develocity-access-key: ${{ secrets.GRAILS_DEVELOCITY_ACCESS_KEY }}
5252
- name: "📤 Publish Snapshot to repo.grails.org"
5353
env:
5454
GITHUB_MAVEN_PASSWORD: ${{ secrets.GITHUB_TOKEN }}
5555
GRADLE_PUBLISH_RELEASE: 'false'
56-
MAVEN_PUBLISH_USERNAME: ${{ secrets.MAVEN_PUBLISH_USERNAME }}
57-
MAVEN_PUBLISH_PASSWORD: ${{ secrets.MAVEN_PUBLISH_PASSWORD }}
58-
MAVEN_PUBLISH_URL: ${{ secrets.MAVEN_PUBLISH_SNAPSHOT_URL }}
56+
MAVEN_PUBLISH_URL: ${{ secrets.GRAILS_NEXUS_PUBLISH_SNAPSHOT_URL }}
57+
MAVEN_PUBLISH_USERNAME: ${{ secrets.NEXUS_USER }}
58+
MAVEN_PUBLISH_PASSWORD: ${{ secrets.NEXUS_PW }}
5959
run: ./gradlew publish
6060
docs:
6161
if: github.event_name == 'workflow_dispatch' || github.event_name == 'push'
@@ -75,15 +75,15 @@ jobs:
7575
- name: "🐘 Setup Gradle"
7676
uses: gradle/actions/setup-gradle@v4
7777
with:
78-
develocity-access-key: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
78+
develocity-access-key: ${{ secrets.GRAILS_DEVELOCITY_ACCESS_KEY }}
7979
- name: "🔨 Build Docs"
8080
id: docs
8181
env:
8282
GITHUB_MAVEN_PASSWORD: ${{ secrets.GITHUB_TOKEN }}
8383
run: ./gradlew docs:docs --refresh-dependencies
8484
- name: "🚀 Publish to Github Pages"
8585
if: steps.docs.outcome == 'success'
86-
uses: grails/grails-github-actions/deploy-github-pages@main
86+
uses: apache/grails-github-actions/deploy-github-pages@asf
8787
env:
8888
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
8989
GRADLE_PUBLISH_RELEASE: 'false'

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
- name: "🐘 Setup Gradle"
2828
uses: gradle/actions/setup-gradle@v4
2929
with:
30-
develocity-access-key: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
30+
develocity-access-key: ${{ secrets.GRAILS_DEVELOCITY_ACCESS_KEY }}
3131
- name: "⚙ Run pre-release"
3232
uses: grails/github-actions/pre-release@main
3333
- name: "🧩 Run Assemble"
@@ -76,7 +76,7 @@ jobs:
7676
- name: "🐘 Setup Gradle"
7777
uses: gradle/actions/setup-gradle@v4
7878
with:
79-
develocity-access-key: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
79+
develocity-access-key: ${{ secrets.GRAILS_DEVELOCITY_ACCESS_KEY }}
8080
- name: "🚀 Release Sonatype Staging Repository"
8181
env:
8282
NEXUS_PUBLISH_USERNAME: ${{ secrets.NEXUS_PUBLISH_USERNAME }}
@@ -113,7 +113,7 @@ jobs:
113113
- name: "🐘 Setup Gradle"
114114
uses: gradle/actions/setup-gradle@v4
115115
with:
116-
develocity-access-key: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
116+
develocity-access-key: ${{ secrets.GRAILS_DEVELOCITY_ACCESS_KEY }}
117117
- name: "📖 Generate documentation"
118118
env:
119119
GITHUB_MAVEN_PASSWORD: ${{ secrets.GITHUB_TOKEN }}

build.gradle

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
buildscript {
22
repositories {
33
maven { url "https://repo.grails.org/grails/core" }
4+
maven { url = 'https://repository.apache.org/content/repositories/snapshots' }
45
if (System.getenv("GITHUB_MAVEN_PASSWORD") && !grailsVersion.endsWith('-SNAPSHOT')) {
56
System.out.println("Adding Grails Core Repo")
67
maven {
@@ -13,7 +14,7 @@ buildscript {
1314
}
1415
}
1516
dependencies {
16-
classpath platform("org.grails:grails-bom:$grailsVersion")
17+
classpath platform("org.apache.grails:grails-bom:$grailsVersion")
1718
classpath "org.grails:grails-gradle-plugin"
1819
}
1920
}
@@ -22,6 +23,7 @@ allprojects {
2223
repositories {
2324
mavenCentral()
2425
maven { url "https://repo.grails.org/grails/core" }
26+
maven { url = 'https://repository.apache.org/content/repositories/snapshots' }
2527
if (System.getenv("GITHUB_MAVEN_PASSWORD") && !grailsVersion.endsWith('-SNAPSHOT')) {
2628
System.out.println("Adding Grails Core Repo")
2729
maven {
@@ -35,18 +37,18 @@ allprojects {
3537
}
3638
}
3739

38-
group = "org.grails.plugins"
40+
group = "org.apache.grails"
3941
version = project.projectVersion
4042

4143
subprojects {
4244
if(project.name == 'plugin') {
4345
version = projectVersion
44-
group = "org.grails.plugins"
46+
group = "org.apache.grails"
4547

4648
apply plugin:"org.grails.grails-publish"
4749
grailsPublish {
4850
artifactId = 'cache'
49-
githubSlug = "grails/grails-cache"
51+
githubSlug = "apache/grails-cache"
5052
license {
5153
name = 'Apache-2.0'
5254
}

docs/build.gradle

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import grails.doc.gradle.PublishGuide
33
buildscript {
44
repositories {
55
maven { url = 'https://repo.grails.org/grails/core' }
6+
maven { url = 'https://repository.apache.org/content/repositories/snapshots' }
67
if (System.getenv("GITHUB_MAVEN_PASSWORD") && !grailsVersion.endsWith('-SNAPSHOT')) {
78
System.out.println("Adding Grails Core Repo")
89
maven {
@@ -15,14 +16,14 @@ buildscript {
1516
}
1617
}
1718
dependencies {
18-
classpath "org.grails:grails-docs:$grailsVersion"
19+
classpath "org.apache.grails:grails-docs-core:$grailsVersion"
1920
}
2021
}
2122

2223
apply plugin: 'groovy'
2324

2425
dependencies {
25-
implementation platform("org.grails:grails-bom:$grailsVersion")
26+
implementation platform("org.apache.grails:grails-bom:$grailsVersion")
2627
implementation 'org.apache.groovy:groovy-groovydoc'
2728
implementation 'org.apache.groovy:groovy-ant'
2829
implementation 'org.springframework:spring-core'

example/build.gradle

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ buildscript {
1313
}
1414
}
1515
dependencies {
16-
classpath platform("org.grails:grails-bom:$grailsVersion")
17-
classpath 'org.grails:grails-gradle-plugin'
16+
classpath platform("org.apache.grails:grails-bom:$grailsVersion")
17+
classpath 'org.apache.grails:grails-gradle-plugins'
1818
}
1919
}
2020

@@ -28,44 +28,44 @@ plugins {
2828
version = projectVersion
2929
group = "com.demo"
3030

31-
apply plugin: "org.grails.grails-web"
32-
apply plugin: "org.grails.grails-gsp"
31+
apply plugin: "org.apache.grails.gradle.grails-web"
32+
apply plugin: "org.apache.grails.gradle.grails-gsp"
3333

3434
compileJava.options.release = 17
3535

3636
dependencies {
37-
implementation platform("org.grails:grails-bom:$grailsVersion")
37+
implementation platform("org.apache.grails:grails-bom:$grailsVersion")
3838

3939
implementation project(':plugin')
4040

41-
implementation "org.grails:grails-core"
42-
implementation "org.grails:grails-logging"
43-
implementation "org.grails:grails-plugin-databinding"
44-
implementation "org.grails:grails-plugin-i18n"
45-
implementation "org.grails:grails-plugin-interceptors"
46-
implementation "org.grails:grails-plugin-rest"
47-
implementation "org.grails:grails-plugin-services"
48-
implementation "org.grails:grails-plugin-url-mappings"
49-
implementation "org.grails:grails-web-boot"
50-
implementation "org.grails.plugins:gsp"
41+
implementation "org.apache.grails:grails-core"
42+
implementation "org.apache.grails:grails-logging"
43+
implementation "org.apache.grails:grails-databinding"
44+
implementation "org.apache.grails:grails-i18n"
45+
implementation "org.apache.grails:grails-interceptors"
46+
implementation "org.apache.grails:grails-rest-transforms"
47+
implementation "org.apache.grails:grails-services"
48+
implementation "org.apache.grails:grails-url-mappings"
49+
implementation "org.apache.grails.web:grails-web-boot"
50+
implementation "org.apache.grails:grails-gsp"
5151
implementation "org.springframework.boot:spring-boot-autoconfigure"
5252
implementation "org.springframework.boot:spring-boot-starter"
5353
implementation "org.springframework.boot:spring-boot-starter-actuator"
5454
implementation "org.springframework.boot:spring-boot-starter-logging"
5555
implementation "org.springframework.boot:spring-boot-starter-tomcat"
5656
implementation "org.springframework.boot:spring-boot-starter-validation"
5757

58-
console "org.grails:grails-console"
58+
console "org.apache.grails:grails-console"
5959

6060
runtimeOnly "com.bertramlabs.plugins:asset-pipeline-grails"
6161
runtimeOnly "com.h2database:h2"
6262
runtimeOnly "org.apache.tomcat:tomcat-jdbc"
6363
runtimeOnly "org.fusesource.jansi:jansi"
6464

65-
integrationTestImplementation testFixtures("org.grails.plugins:geb")
65+
integrationTestImplementation testFixtures("org.apache.grails:grails-geb")
6666

67-
testImplementation "org.grails:grails-gorm-testing-support"
68-
testImplementation "org.grails:grails-web-testing-support"
67+
testImplementation "org.apache.grails:grails-testing-support-datamapping"
68+
testImplementation "org.apache.grails:grails-testing-support-web"
6969
testImplementation "org.spockframework:spock-core"
7070
}
7171

plugin/build.gradle

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
buildscript {
22
repositories {
33
maven { url = 'https://repo.grails.org/grails/core' }
4+
maven { url = 'https://repository.apache.org/content/repositories/snapshots' }
45
if (System.getenv("GITHUB_MAVEN_PASSWORD") && !grailsVersion.endsWith('-SNAPSHOT')) {
56
System.out.println("Adding Grails Core Repo")
67
maven {
@@ -13,36 +14,36 @@ buildscript {
1314
}
1415
}
1516
dependencies {
16-
classpath platform("org.grails:grails-bom:$grailsVersion")
17-
classpath 'org.grails:grails-gradle-plugin'
17+
classpath platform("org.apache.grails:grails-bom:$grailsVersion")
18+
classpath 'org.apache.grails:grails-gradle-plugins'
1819
}
1920
}
2021

2122
version = projectVersion
22-
group = "org.grails.plugins"
23+
group = "org.apache.grails"
2324

2425
apply plugin: 'groovy'
2526
apply plugin: 'java-library'
2627

27-
apply plugin: 'org.grails.grails-plugin'
28+
apply plugin: 'org.apache.grails.gradle.grails-plugin'
2829

2930
dependencies {
30-
implementation platform("org.grails:grails-bom:$grailsVersion")
31+
implementation platform("org.apache.grails:grails-bom:$grailsVersion")
3132

32-
api "org.grails:grails-core"
33-
api "org.grails:grails-web-boot"
34-
api "org.grails:grails-plugin-services"
33+
api "org.apache.grails:grails-core"
34+
api "org.apache.grails.web:grails-web-boot"
35+
api "org.apache.grails:grails-services"
3536

36-
api "org.grails.plugins:gsp"
37+
api "org.apache.grails:grails-gsp"
3738
api "org.codehaus.gpars:gpars:$gparsVersion"
3839
api "com.googlecode.concurrentlinkedhashmap:concurrentlinkedhashmap-lru:$concurrentlinkedhashmapLruVersion"
3940

40-
compileOnly "org.grails:grails-plugin-domain-class"
41+
compileOnly "org.apache.grails:grails-domain-class"
4142

42-
console "org.grails:grails-console"
43+
console "org.apache.grails:grails-console"
4344

44-
testImplementation "org.grails:grails-gorm-testing-support"
45-
testImplementation "org.grails:grails-web-testing-support"
45+
testImplementation "org.apache.grails:grails-testing-support-datamapping"
46+
testImplementation "org.apache.grails:grails-testing-support-web"
4647
testImplementation "org.spockframework:spock-core", {
4748
exclude group: 'org.apache.groovy'
4849
}

settings.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ plugins {
55

66
def isCI = System.getenv('CI') != null
77
def isLocal = !isCI
8-
def isAuthenticated = System.getenv('DEVELOCITY_ACCESS_KEY') != null
8+
def isAuthenticated = System.getenv('GRAILS_DEVELOCITY_ACCESS_KEY') != null
99

1010
develocity {
1111
server = 'https://ge.grails.org'

0 commit comments

Comments
 (0)