Skip to content

Commit a742355

Browse files
authored
Merge branch '9.0.x' into consolidate-neo4j-graphql
2 parents 4091aa3 + 7fa8672 commit a742355

File tree

1 file changed

+22
-26
lines changed

1 file changed

+22
-26
lines changed

build.gradle

Lines changed: 22 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
ext {
22
isCiBuild = System.getenv('CI')
33
isSnapshot = projectVersion.endsWith('SNAPSHOT')
4-
isReleaseVersion = !isSnapshot
54
excludeUnusedTransDeps = findProperty('excludeUnusedTransDeps')
65
}
76

@@ -48,32 +47,29 @@ allprojects {
4847
}
4948
}
5049

51-
if (isReleaseVersion) {
50+
// Workaround needed for nexus publishing bug
51+
// version and group must be specified in the root project
52+
// https://github.com/gradle-nexus/publish-plugin/issues/310
53+
version = projectVersion
54+
group = 'this.will.be.overridden'
5255

53-
// Workaround needed for nexus publishing bug
54-
// version and group must be specified in the root project
55-
// https://github.com/gradle-nexus/publish-plugin/issues/310
56-
version = projectVersion
57-
group = 'this.will.be.overridden'
58-
59-
def publishedProjects = [
60-
'grails-datastore-async',
61-
'grails-datastore-core',
62-
'grails-datastore-gorm',
63-
'grails-datastore-gorm-async',
64-
//'grails-datastore-gorm-rx',
65-
'grails-datastore-gorm-support',
66-
'grails-datastore-gorm-tck',
67-
'grails-datastore-gorm-test',
68-
'grails-datastore-gorm-validation',
69-
'grails-datastore-web',
70-
'grails-gorm-testing-support',
71-
]
72-
subprojects {
73-
if (name in publishedProjects) {
74-
// This has to be applied here
75-
apply plugin: 'org.grails.grails-publish'
76-
}
56+
def publishedProjects = [
57+
'grails-datastore-async',
58+
'grails-datastore-core',
59+
'grails-datastore-gorm',
60+
'grails-datastore-gorm-async',
61+
//'grails-datastore-gorm-rx',
62+
'grails-datastore-gorm-support',
63+
'grails-datastore-gorm-tck',
64+
'grails-datastore-gorm-test',
65+
'grails-datastore-gorm-validation',
66+
'grails-datastore-web',
67+
'grails-gorm-testing-support',
68+
]
69+
subprojects {
70+
if (name in publishedProjects) {
71+
// This has to be applied here
72+
apply plugin: 'org.grails.grails-publish'
7773
}
7874
}
7975

0 commit comments

Comments
 (0)