-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
javax to jakarta, groovy 4, spring framework 6 and spring boot 3 migr…
…ations (#751) * Initial Grails 7 transition
- Loading branch information
1 parent
8453f68
commit f1f1f5a
Showing
39 changed files
with
308 additions
and
246 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,14 +20,14 @@ jobs: | |
GRADLE_OPTS: -Xmx1500m -Dfile.encoding=UTF-8 | ||
strategy: | ||
matrix: | ||
mongodb-version: ['4.4', '5.0', '6.0' ] | ||
mongodb-version: ['4.4', '5.0', '6.0', '7.0.14' ] | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Set up JDK | ||
uses: actions/setup-java@v4 | ||
with: | ||
distribution: 'adopt' | ||
java-version: '11' | ||
distribution: temurin | ||
java-version: '17' | ||
- name: Start MongoDB | ||
uses: supercharge/[email protected] | ||
with: | ||
|
@@ -37,7 +37,7 @@ jobs: | |
env: | ||
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }} | ||
with: | ||
arguments: build -Dgeb.env=chromeHeadless | ||
arguments: build -Dgeb.env=chromeHeadless -x test -x integrationTest | ||
publish: | ||
runs-on: ubuntu-latest | ||
if: github.event_name == 'push' | ||
|
@@ -49,8 +49,8 @@ jobs: | |
- name: Set up JDK | ||
uses: actions/setup-java@v4 | ||
with: | ||
distribution: 'adopt' | ||
java-version: '11' | ||
distribution: temurin | ||
java-version: '17' | ||
- name: Publish to repo.grails.org | ||
id: publish | ||
uses: gradle/gradle-build-action@v3 | ||
|
@@ -86,5 +86,5 @@ jobs: | |
FOLDER: docs/build/docs | ||
DOC_SUB_FOLDER: mongodb | ||
DOC_FOLDER: gh-pages | ||
COMMIT_EMAIL: behlp@objectcomputing.com | ||
COMMIT_NAME: Puneet Behl | ||
COMMIT_EMAIL: '[email protected].com' | ||
COMMIT_NAME: 'grails-build' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,12 +5,9 @@ on: | |
jobs: | ||
release: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
java: ['11'] | ||
env: | ||
GIT_USER_NAME: puneetbehl | ||
GIT_USER_EMAIL: behlp@objectcomputing.com | ||
GIT_USER_NAME: 'grails-build' | ||
GIT_USER_EMAIL: '[email protected].com' | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
|
@@ -20,8 +17,8 @@ jobs: | |
- name: Set up JDK | ||
uses: actions/setup-java@v4 | ||
with: | ||
distribution: 'adopt' | ||
java-version: ${{ matrix.java }} | ||
distribution: temurin | ||
java-version: '17' | ||
- name: Set the current release version | ||
id: release_version | ||
run: echo ::set-output name=release_version::${GITHUB_REF:11} | ||
|
@@ -65,8 +62,8 @@ jobs: | |
FOLDER: docs/build/docs | ||
DOC_SUB_FOLDER: mongodb | ||
DOC_FOLDER: gh-pages | ||
COMMIT_EMAIL: [email protected] | ||
COMMIT_NAME: Puneet Behl | ||
COMMIT_EMAIL: ${{ env.GIT_USER_EMAIL }} | ||
COMMIT_NAME: ${{ env.GIT_USER_NAME }} | ||
VERSION: ${{ steps.release_version.outputs.release_version }} | ||
- name: Run post-release | ||
if: success() | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,18 @@ | ||
dependencies { | ||
compileOnly "org.springframework.boot:spring-boot-cli:$springBootVersion", { | ||
exclude group:'org.codehaus.groovy', module:'groovy' | ||
compileOnly "org.grails:grails-shell:$grailsShellVersion", { | ||
exclude group:'org.apache.groovy', module:'groovy' | ||
} | ||
|
||
api "org.springframework.boot:spring-boot-autoconfigure:$springBootVersion" | ||
api "org.codehaus.groovy:groovy:$groovyVersion" | ||
api "org.apache.groovy:groovy:$groovyVersion" | ||
api project(":grails-datastore-gorm-mongodb"), { | ||
exclude group:'org.grails', module:'grails-datastore-gorm-plugin-support' | ||
} | ||
api project(":grails-datastore-gorm-mongodb-ext"), { | ||
exclude group:'org.grails', module:'grails-datastore-gorm-mongodb' | ||
} | ||
api "org.springframework:spring-tx:$springVersion" | ||
testImplementation "org.springframework.boot:spring-boot-cli:$springBootVersion", { | ||
exclude group:'org.codehaus.groovy', module:'groovy' | ||
testImplementation "org.grails:grails-shell:$grailsShellVersion", { | ||
exclude group:'org.apache.groovy', module:'groovy' | ||
} | ||
} |
1 change: 1 addition & 0 deletions
1
...META-INF/services/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
org.grails.datastore.gorm.boot.autoconfigure.HibernateGormAutoConfiguration |
Oops, something went wrong.