Skip to content

Commit a738a9a

Browse files
committed
Code review feedback:
- rename directory to include grails-data - distinguish migraiton plugin project as hibernate5 (leave artifact as is for now) - workaround for asset pipeline #177
1 parent 26966c1 commit a738a9a

File tree

1,473 files changed

+55
-45
lines changed

Some content is hidden

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

1,473 files changed

+55
-45
lines changed

build.gradle

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ def publishedProjects = [
6565
'grails-datastore-gorm-validation',
6666
'grails-datastore-web',
6767
'grails-gorm-testing-support',
68-
'database-migration',
68+
'database-migration-hibernate5',
6969
'gorm-hibernate5-spring-boot',
7070
'grails-datastore-gorm-hibernate5',
7171
'hibernate5-grails-plugin',
@@ -76,11 +76,19 @@ def publishedProjects = [
7676
'mongodb-grails-plugin',
7777
'views-json-templates'
7878
]
79-
subprojects {
79+
subprojects { Project subproject ->
8080
if (name in publishedProjects) {
8181
// This has to be applied here
8282
apply plugin: 'org.grails.grails-publish'
8383
}
84+
85+
// asset-pipeline #177 work around for parallel builds
86+
subproject.afterEvaluate {
87+
Task assetTask = subproject.tasks.findByName('assetCompile')
88+
if(assetTask) {
89+
assetTask.outputs.dir rootProject.layout.buildDirectory.dir("asset-serialize")
90+
}
91+
}
8492
}
8593

86-
apply from: layout.projectDirectory.file('gradle/documentation-config.gradle')
94+
apply from: layout.projectDirectory.file('gradle/documentation-config.gradle')

gradle/documentation-config.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ tasks.register('data-mapping-groovydoc', Groovydoc) {
5757
}
5858

5959
tasks.register('copyGormImplementationDocs', Copy) {
60-
dependsOn(':hibernate5-docs:docs', ':mongodb-docs:docs')
60+
dependsOn(':grails-data-hibernate5-docs:docs', ':grails-data-mongodb-docs:docs')
6161

6262
def hibernate5SourceDir = project(':hibernate5-docs').layout.buildDirectory.dir('docs')
6363
def mongodbSourceDir = project(':mongodb-docs').layout.buildDirectory.dir('docs')

0 commit comments

Comments
 (0)