We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fbcc6dc commit 9271787Copy full SHA for 9271787
src/main/groovy/nebula/plugin/release/ReleasePlugin.groovy
@@ -160,6 +160,10 @@ class ReleasePlugin implements Plugin<Project> {
160
}
161
} else {
162
project.version = project.rootProject.version
163
+ }
164
+
165
+ def isParent = project.rootProject.subprojects.any { it.parent == project }
166
+ if (!isParent) {
167
project.plugins.withType(JavaPlugin) {
168
project.rootProject.tasks.release.dependsOn project.tasks.build
169
0 commit comments