Skip to content

Commit 13b49bd

Browse files
authored
Merge pull request #2 from jdaugherty/6.0.x
Move to a strategy of targeting a grails version by branch version
2 parents fe1b4a2 + 42b19d5 commit 13b49bd

File tree

560 files changed

+136
-90711
lines changed

Some content is hidden

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

560 files changed

+136
-90711
lines changed

.github/workflows/gradle-publish.yml

Lines changed: 0 additions & 48 deletions
This file was deleted.

.github/workflows/gradle.yml

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
name: Java CI
2+
on:
3+
push:
4+
branches:
5+
- '[6-9]+.[0-9]+.x'
6+
pull_request:
7+
branches:
8+
- '[6-9]+.[0-9]+.x'
9+
workflow_dispatch:
10+
jobs:
11+
build:
12+
runs-on: ubuntu-latest
13+
env:
14+
WORKSPACE: ${{ github.workspace }}
15+
GRADLE_OPTS: -Xmx1500m -Dfile.encoding=UTF-8
16+
SIGNING_KEYRING: ${{ secrets.SECRING_FILE }}
17+
steps:
18+
- uses: actions/checkout@v4
19+
- name: Setup up node
20+
uses: actions/setup-node@v3
21+
with:
22+
node-version: '20.5.1'
23+
- run: npm install
24+
- run: npx gulp grailsRelease
25+
- name: Set up JDK
26+
uses: actions/setup-java@v4
27+
with:
28+
distribution: 'liberica'
29+
java-version: '11'
30+
- name: Setup Gradle
31+
uses: gradle/gradle-build-action@v3
32+
- name: Run build with Gradle Wrapper
33+
run: ./gradlew build -Dgeb.env=chromeHeadless
34+
working-directory: plugin
35+
publish:
36+
if: github.event_name == 'push'
37+
needs: ['build']
38+
runs-on: ubuntu-latest
39+
steps:
40+
- uses: actions/checkout@v4
41+
- name: Setup up node
42+
uses: actions/setup-node@v3
43+
with:
44+
node-version: '20.5.1'
45+
- run: npm install
46+
- run: npx gulp grailsRelease
47+
- name: Set up JDK
48+
uses: actions/setup-java@v4
49+
with:
50+
distribution: 'liberica'
51+
java-version: '11'
52+
- name: Setup Gradle
53+
uses: gradle/gradle-build-action@v3
54+
- name: Publish Artifacts (repo.grails.org)
55+
id: publish
56+
env:
57+
ARTIFACTORY_USERNAME: ${{ secrets.ARTIFACTORY_USERNAME }}
58+
ARTIFACTORY_PASSWORD: ${{ secrets.ARTIFACTORY_PASSWORD }}
59+
working-directory: plugin
60+
run: ./gradlew -Dorg.gradle.internal.publish.checksums.insecure=true publish

.gitignore

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,8 @@
33
*.iml
44
build
55
node_modules
6-
.grunt
6+
.grunt
7+
.gradle
8+
build
9+
classes
10+
out

.sdkmanrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
java=11.0.24-librca

README.md

Lines changed: 17 additions & 129 deletions
File renamed without changes.

grails6/app/build.gradle renamed to app/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ plugins {
1010
id "eclipse"
1111
}
1212

13-
group = "grails6.app"
13+
group = "grails.app"
1414

1515
repositories {
1616
mavenLocal()
@@ -71,7 +71,7 @@ dependencies {
7171
}
7272

7373
application {
74-
mainClass.set("grails6.app.Application")
74+
mainClass.set("grails.app.Application")
7575
}
7676

7777
java {
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)