Skip to content

Commit 8f80a7d

Browse files
authored
build: workaround for nexus-publish issue (#1882)
gradle-nexus/publish-plugin#310
1 parent dcf0b92 commit 8f80a7d

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

build.gradle

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,13 @@ allprojects {
4949
}
5050

5151
if (isReleaseVersion) {
52+
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+
5259
// This has to be applied to the root project
5360
apply plugin: 'io.github.gradle-nexus.publish-plugin'
5461
def publishedProjects = [

0 commit comments

Comments
 (0)