File tree Expand file tree Collapse file tree 1 file changed +14
-6
lines changed Expand file tree Collapse file tree 1 file changed +14
-6
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ plugins {
66 id ' com.gradle.plugin-publish' version ' 0.12.0'
77 id ' io.codearte.nexus-staging' version ' 0.21.2'
88 id ' eclipse'
9- id ' de.undercouch.download' version ' 4.1.1 '
9+ id ' de.undercouch.download' version ' 5.0.4 '
1010}
1111
1212repositories {
@@ -224,10 +224,18 @@ nexusStaging {
224224 password = project. findProperty(' ossrhPassword' ) ?: ' '
225225}
226226
227- task updateUniversalJavaApplicationStub (type : Download ) {
228- group ' Update'
229- description ' Downloads universalJavaApplicationStub to src/main/resources/mac and overrides the existing one.'
230- src ' https://raw.githubusercontent.com/fvarrui/universalJavaApplicationStub/master/src/universalJavaApplicationStub'
227+
228+ task updateUniversalJavaApplicationStub (type : Download ) {
229+ def version = ' 20220410.162252'
230+ group ' Update universalJavaApplicationStub'
231+ description ' Downloads and ovewrites compiled and scripted versions of universalJavaApplicationStub to src/main/resources/mac and overrides the existing ones.'
232+ src([
233+ " https://github.com/fvarrui/universalJavaApplicationStub/releases/download/${ version} /universalJavaApplicationStub.sh" ,
234+ " https://github.com/fvarrui/universalJavaApplicationStub/releases/download/${ version} /universalJavaApplicationStub.x86_64" ,
235+ " https://github.com/fvarrui/universalJavaApplicationStub/releases/download/${ version} /universalJavaApplicationStub.arm64" ,
236+ " https://github.com/fvarrui/universalJavaApplicationStub/releases/download/${ version} /universalJavaApplicationStub"
237+ ])
231238 dest file(' src/main/resources/mac' )
232- overwrite true
239+ overwrite true
233240}
241+
You can’t perform that action at this time.
0 commit comments