File tree Expand file tree Collapse file tree 2 files changed +14
-2
lines changed
Expand file tree Collapse file tree 2 files changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -21,10 +21,22 @@ githubRelease {
2121 body file(' changelog.md' ). text. replace(' %version%' , version)
2222 draft false
2323 prerelease version. startsWith(' 0' ) || version. endsWith(' -snapshot' ) || version. endsWith(' -alpha' ) || version. endsWith(' -beta' ) || version. endsWith(' -dev' )
24- releaseAssets file(' build/libs' ). listFiles()
24+ var assets = []
25+ [project(' simpleclient-1.19.4' ),
26+ project(' simpleclient-1.20' ),
27+ project(' simpleclient-1.20.1' )]. forEach {
28+ assets. add it. file(" build/libs/${ it.name} -${ version} .jar" )
29+ }
30+ releaseAssets assets. toArray()
2531 allowUploadToExisting. set false
2632 overwrite true
2733 dryRun false
2834 apiEndpoint ' https://api.github.com'
2935 client
36+ }
37+
38+ tasks. named(' githubRelease' ) {
39+ dependsOn ' :simpleclient-1.19.4:build'
40+ dependsOn ' :simpleclient-1.20:build'
41+ dependsOn ' :simpleclient-1.20.1:build'
3042}
Original file line number Diff line number Diff line change 11# Gradle arguments
2- org.gradle.jvmargs =-Xmx1G
2+ org.gradle.jvmargs =-Xmx2G
33org.gradle.parallel =true
44
55# SimpleClient
You can’t perform that action at this time.
0 commit comments