Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,14 @@ subprojects {
}
}
}

// Workaround needed for nexus publishing bug
// version and group must be specified in the root project
// https://github.com/gradle-nexus/publish-plugin/issues/310
version = projectVersion
group = 'this.will.be.overridden'
subprojects {
if (name == 'grails-logical-delete') {
apply plugin: 'org.apache.grails.gradle.grails-publish'
}
}
1 change: 0 additions & 1 deletion buildSrc/src/main/groovy/build/config/Publish.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ class Publish implements Plugin<Project> {

@Override
void apply(Project project) {
project.pluginManager.apply('org.apache.grails.gradle.grails-publish')
project.extensions.configure(GrailsPublishExtension) {
it.organization.name.set('Grails Plugins')
it.organization.url.set('https://github.com/grails-plugins')
Expand Down