File tree Expand file tree Collapse file tree 2 files changed +11
-1
lines changed
buildSrc/src/main/groovy/build/config Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -12,3 +12,14 @@ subprojects {
1212 }
1313 }
1414}
15+
16+ // Workaround needed for nexus publishing bug
17+ // version and group must be specified in the root project
18+ // https://github.com/gradle-nexus/publish-plugin/issues/310
19+ version = projectVersion
20+ group = ' this.will.be.overridden'
21+ subprojects {
22+ if (name == ' grails-logical-delete' ) {
23+ apply plugin : ' org.apache.grails.gradle.grails-publish'
24+ }
25+ }
Original file line number Diff line number Diff line change @@ -13,7 +13,6 @@ class Publish implements Plugin<Project> {
1313
1414 @Override
1515 void apply (Project project ) {
16- project. pluginManager. apply(' org.apache.grails.gradle.grails-publish' )
1716 project. extensions. configure(GrailsPublishExtension ) {
1817 it. organization. name. set(' Grails Plugins' )
1918 it. organization. url. set(' https://github.com/grails-plugins' )
You can’t perform that action at this time.
0 commit comments