File tree Expand file tree Collapse file tree 5 files changed +24
-44
lines changed
Expand file tree Collapse file tree 5 files changed +24
-44
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11plugins {
2+ id ' com.github.breadmoirai.github-release' version ' 2.4.1'
23}
34
45version = project. simpleclient_version
56group = ' simpleclient'
67
7- repositories {
8- }
9-
10- dependencies {
11- }
12-
138subprojects {
14- }
15-
16- allprojects {
179 version = rootProject. version
1810 group = rootProject. group
11+ }
12+
13+ githubRelease {
14+ token System . getenv(' GITHUB_TOKEN' ) == null ? ' ' : System . getenv(' GITHUB_TOKEN' )
15+ owner ' SimpleClient'
16+ repo ' SimpleClient'
17+ tagName version
18+ targetCommitish ' main'
19+ releaseName version
20+ generateReleaseNotes false
21+ body file(' changelog.md' ). text. replace(' %version%' , version)
22+ draft false
23+ prerelease version. startsWith(' 0' ) || version. endsWith(' -snapshot' ) || version. endsWith(' -alpha' ) || version. endsWith(' -beta' ) || version. endsWith(' -dev' )
24+ releaseAssets file(' build/libs' ). listFiles()
25+ allowUploadToExisting. set false
26+ overwrite true
27+ dryRun false
28+ apiEndpoint ' https://api.github.com'
29+ client
1930}
Original file line number Diff line number Diff line change 1+ ## SimpleClient %version%
2+ - Added Motionblur for 1.20
Original file line number Diff line number Diff line change @@ -45,5 +45,4 @@ task copyJar(type: Copy) {
4545 if (! rootProject. file(' build/libs' ). exists()) rootProject. file(' build/libs' ). mkdirs()
4646 into rootProject. file(' build/libs' )
4747}
48-
49- remapJar. finalizedBy(copyJar)
48+ remapJar. finalizedBy copyJar
Original file line number Diff line number Diff line change @@ -45,5 +45,4 @@ task copyJar(type: Copy) {
4545 if (! rootProject. file(' build/libs' ). exists()) rootProject. file(' build/libs' ). mkdirs()
4646 into rootProject. file(' build/libs' )
4747}
48-
49- remapJar. finalizedBy(copyJar)
48+ remapJar. finalizedBy copyJar
You can’t perform that action at this time.
0 commit comments