Skip to content

Commit dc5767a

Browse files
committed
Fix publish
1 parent be23fb3 commit dc5767a

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

spark-paper/build.gradle

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ plugins {
44
id 'maven-publish'
55
}
66

7+
version = "${project.baseVersion}-${project.buildCommit}"
8+
79
tasks.withType(JavaCompile) {
810
// override, compile targeting J21
911
options.release = 21
@@ -70,7 +72,6 @@ publishing {
7072
publications {
7173
shadow(MavenPublication) { publication ->
7274
project.shadow.component(publication)
73-
version = "${project.pluginVersion}"
7475
}
7576
}
7677
}

0 commit comments

Comments
 (0)