Skip to content

Commit fb9db1f

Browse files
committed
feedback: rename simple datastore implementation
1 parent 9348516 commit fb9db1f

File tree

10 files changed

+11
-3
lines changed

10 files changed

+11
-3
lines changed

build.gradle

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,14 +60,15 @@ def publishedProjects = [
6060
'grails-datastore-gorm',
6161
'grails-datastore-gorm-async',
6262
//'grails-datastore-gorm-rx',
63-
'grails-datastore-gorm-simple',
6463
'grails-datastore-gorm-support',
6564
'grails-datastore-gorm-tck',
6665
'grails-datastore-gorm-tck-base',
6766
'grails-datastore-gorm-tck-domains',
6867
'grails-datastore-gorm-validation',
6968
'grails-datastore-web',
7069
'grails-gorm-testing-support',
70+
// simple
71+
'simple-gorm',
7172
// hibernate5
7273
'hibernate5-boot-plugin',
7374
'hibernate5-database-migration',

grails-datastore-gorm-simple/build.gradle renamed to grails-data-simple/build.gradle

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ plugins {
66
version = projectVersion
77
group = 'org.grails'
88

9+
ext {
10+
pomArtifactId = 'grails-datastore-gorm-simple'
11+
}
12+
913
dependencies {
1014

1115
implementation platform("org.grails:grails-bom:$grailsVersion")

grails-datastore-gorm-test/build.gradle

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ group = 'org.grails'
88

99
ext {
1010
includeBaseTckClass = true
11+
//TODO: We could publish the test classes once https://github.com/grails/grails-gradle-plugin/pull/425 is merged
1112
}
1213

1314
dependencies {
@@ -92,7 +93,7 @@ dependencies {
9293
//testImplementation project(":grails-datastore-gorm-rx")
9394

9495
// Use the simple datastore to ensure the base implementation works correctly
95-
api project(':grails-datastore-gorm-simple')
96+
api project(':simple-gorm')
9697

9798
testRuntimeOnly 'org.slf4j:slf4j-nop' // Get rid of warning about missing slf4j implementation during tests
9899

settings.gradle

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ include(
3636
'grails-datastore-async',
3737
'grails-datastore-gorm-async',
3838
'grails-datastore-gorm-validation',
39-
'grails-datastore-gorm-simple',
4039
'grails-datastore-gorm-support',
4140
// the tck is split into domains -> base -> tck so that the base class can be swapped out or reused
4241
'grails-datastore-gorm-tck',
@@ -66,6 +65,9 @@ project(':docs-guide-developer').projectDir = file('docs/guide-developer')
6665
include 'docs-guide-whats-new'
6766
project(':docs-guide-whats-new').projectDir = file('docs/guide-whats-new')
6867

68+
// Simple implementation (for simple gorm usage, unit tests, and base implementation testing)
69+
include 'simple-gorm'
70+
findProject(':simple-gorm').projectDir = file('grails-data-simple')
6971

7072
// Hibernate 5
7173
// Core

0 commit comments

Comments
 (0)