File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -107,10 +107,10 @@ subprojects {
107
107
hangarPublish {
108
108
publications.register(" necrify" ) {
109
109
version.set(buildVersion())
110
- channel.set(if (! isRelease() ) " Snapshot" else " Release" )
110
+ channel.set(if (! isRelease) " Snapshot" else " Release" )
111
111
id.set(" necrify" )
112
112
apiKey.set(System .getenv(" HANGAR_API_TOKEN" ))
113
- if (! isRelease() ) {
113
+ if (! isRelease) {
114
114
changelog.set(changelogMessage())
115
115
} else {
116
116
changelog.set(" Changes will be provided shortly.\n Complete changelog can be found on GitHub: https://www.github.com/JvstvsHD/necrify/releases/tag/v$version " )
Original file line number Diff line number Diff line change @@ -14,8 +14,8 @@ sourceSets {
14
14
blossom {
15
15
javaSources {
16
16
property(" version" , project.version.toString())
17
- property(" gitCommit" , Version (project) .latestCommitHashShort())
18
- property(" buildNumber" , Version ( project) .buildNumber() ? : " -1" )
17
+ property(" gitCommit" , git .latestCommitHashShort())
18
+ property(" buildNumber" , project.buildNumber() ? : " -1" )
19
19
}
20
20
}
21
21
}
Original file line number Diff line number Diff line change @@ -52,8 +52,8 @@ tasks {
52
52
blossom {
53
53
javaSources {
54
54
property(" version" , project.version.toString())
55
- property(" gitCommit" , Version (project) .latestCommitHashShort())
56
- property(" buildNumber" , Version ( project) .buildNumber() ? : " -1" )
55
+ property(" gitCommit" , git .latestCommitHashShort())
56
+ property(" buildNumber" , project.buildNumber() ? : " -1" )
57
57
}
58
58
}
59
59
}
You can’t perform that action at this time.
0 commit comments