File tree Expand file tree Collapse file tree
build-logic/src/main/groovy Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22// version and group must be specified in the root project
33// https://github.com/gradle-nexus/publish-plugin/issues/310
44version = projectVersion
5- group = ' this.will.be.overridden '
5+ group = ' org.grails.plugins '
66
7- subprojects { sub ->
8- sub. pluginManager. withPlugin(' config.publish' ) {
9- // This has to be applied here in the root project due to the nexus plugin requirements
10- sub. apply(plugin : ' org.apache.grails.gradle.grails-publish' )
7+ def publishedProjects = projectsToPublish
8+ .tokenize(' ,' )
9+ .collect { it. trim() }
10+ .findAll()
11+
12+ subprojects {
13+ if (name in publishedProjects) {
14+ apply(plugin : ' org.apache.grails.gradle.grails-publish' )
1115 }
1216}
Original file line number Diff line number Diff line change 11projectVersion =0.0.1-SNAPSHOT
22grailsVersion =7.0.7
33
4+ # Comma-separated list of projects to publish
5+ projectsToPublish =grails-server-timing
6+
47# Build dependencies
58asciidoctorVersion =4.0.5
69checkstyleVersion =10.21.4
You can’t perform that action at this time.
0 commit comments