Skip to content

Commit

Permalink
Migrate the new hibernate plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
rainboyan committed Jun 9, 2024
1 parent 02229b5 commit 3fb9f9b
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
*/
public class DependencyManagementArtifactCoordinatesResolver implements ArtifactCoordinatesResolver {

public static final Set<String> GRAILS_PLUGINS = Set.of("async", "cache", "events", "fields", "hibernate5", "gsp", "scaffolding");
public static final Set<String> GRAILS_PLUGINS = Set.of("async", "cache", "events", "fields", "hibernate", "hibernate5", "gsp", "scaffolding");

private final DependencyManagement dependencyManagement;

Expand Down
2 changes: 1 addition & 1 deletion grace-test-suite-persistence/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ dependencies {

testImplementation libs.grails.async.core
testImplementation libs.grails.datastore.gorm.validation
testImplementation libs.grails.datastore.gorm.hibernate5, {
testImplementation libs.grails.datastore.gorm.hibernate, {
exclude group: 'org.graceframework', module:'grace-datastore-gorm'
exclude group: 'org.graceframework', module:'grace-datastore-core'
exclude group: 'org.springframework', module:'spring-core'
Expand Down
2 changes: 1 addition & 1 deletion grace-test-suite-uber/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ dependencies {
testImplementation project(":grace-plugin-databinding")
testImplementation project(":grace-spring")
testImplementation project(":grace-test-support")
testImplementation libs.grails.datastore.gorm.hibernate5, {
testImplementation libs.grails.datastore.gorm.hibernate, {
exclude group: 'org.graceframework', module:'grace-datastore-gorm'
exclude group: 'org.graceframework', module:'grace-datastore-core'
exclude group: 'org.springframework', module:'spring-core'
Expand Down
2 changes: 1 addition & 1 deletion grace-test-suite-web/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ dependencies {
testImplementation libs.jakarta.servlet.jsp.jstl
testImplementation libs.glassfish.web.jsp.jstl

testImplementation libs.grails.datastore.gorm.hibernate5, {
testImplementation libs.grails.datastore.gorm.hibernate, {
exclude group: 'org.graceframework', module:'grace-datastore-gorm'
exclude group: 'org.graceframework', module:'grace-datastore-core'
exclude group: 'org.springframework', module:'spring-core'
Expand Down
2 changes: 1 addition & 1 deletion gradle/grails.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ cache = "6.0.0-M2"
database-migration = "6.0.0-M2"
fields = "6.0.0-M2"
geb = "6.0.0-M2"
hibernate5 = "2023.0.0-SNAPSHOT"
hibernate = "2023.0.0-SNAPSHOT"
scaffolding = "6.0.0-M2"

[profiles]
Expand Down
4 changes: 2 additions & 2 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ grails-datastore-core = { module = "org.graceframework:grace-datastore-core", ve
grails-datastore-async = { module = "org.graceframework:grace-datastore-async", version.ref = "grace-gorm" }
grails-datastore-gorm = { module = "org.graceframework:grace-datastore-gorm", version.ref = "grace-gorm" }
grails-datastore-gorm-async = { module = "org.graceframework:grace-datastore-gorm-async", version.ref = "grace-gorm" }
grails-datastore-gorm-hibernate5 = { module = "org.graceframework:grace-datastore-gorm-hibernate5", version.ref = "grace-gorm-hibernate" }
grails-datastore-gorm-hibernate = { module = "org.graceframework:grace-datastore-gorm-hibernate", version.ref = "grace-gorm-hibernate" }
grails-datastore-gorm-support = { module = "org.graceframework:grace-datastore-gorm-support", version.ref = "grace-gorm" }
grails-datastore-gorm-test = { module = "org.graceframework:grace-datastore-gorm-test", version.ref = "grace-gorm" }
grails-datastore-gorm-validation = { module = "org.graceframework:grace-datastore-gorm-validation", version.ref = "grace-gorm" }
Expand Down Expand Up @@ -201,7 +201,7 @@ bom = ["groovy-bom", "spring-framework-bom", "spring-boot-dependencies"]
grails-async = ["grails-async-core", "grails-async-gpars", "grails-async-rxjava", "grails-async-rxjava2", "grails-async-rxjava3", "grails-plugin-async"]
grails-devtools = ["methvin-directoryWatcher"]
grails-events = ["grails-events-core", "grails-events-compat", "grails-events-gpars", "grails-events-rxjava", "grails-events-rxjava2", "grails-events-rxjava3", "grails-events-spring", "grails-events-transform", "grails-plugin-events"]
grails-gorm = ["grails-datastore-core", "grails-datastore-async", "grails-datastore-gorm", "grails-datastore-gorm-async", "grails-datastore-gorm-hibernate5", "grails-datastore-gorm-support", "grails-datastore-gorm-test", "grails-datastore-gorm-validation"]
grails-gorm = ["grails-datastore-core", "grails-datastore-async", "grails-datastore-gorm", "grails-datastore-gorm-async", "grails-datastore-gorm-hibernate", "grails-datastore-gorm-support", "grails-datastore-gorm-test", "grails-datastore-gorm-validation"]
grails-scaffolding = ["grails-scaffolding-core"]
grails-views = ["grails-views-component", "grails-views-core", "grails-views-gradle", "grails-views-json", "grails-views-json-templates", "grails-views-json-testing-support", "grails-views-markup"]
groovy = ["groovy-bom"]
Expand Down

0 comments on commit 3fb9f9b

Please sign in to comment.