File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ buildScan {
5353 }
5454}
5555
56- ext. gradleWrapperVersion = ' 4.8.1 '
56+ ext. gradleWrapperVersion = ' 4.9 '
5757task wrapper (type : Wrapper ) {
5858 gradleVersion = gradleWrapperVersion
5959}
Original file line number Diff line number Diff line change @@ -118,7 +118,13 @@ artifacts {
118118if (project. plugins. hasPlugin(' com.github.johnrengelman.shadow' )) {
119119 // Remove the no-deps jar from the archives to prevent publication
120120 configurations. archives. with {
121- artifacts. remove artifacts. find { it. archiveTask. is jar }
121+ artifacts. remove artifacts. find {
122+ if (it. hasProperty(" delegate" )) {
123+ it. delegate. archiveTask. is jar
124+ } else {
125+ it. archiveTask. is jar
126+ }
127+ }
122128 }
123129 artifacts {
124130 archives shadowJar
Original file line number Diff line number Diff line change 11distributionBase =GRADLE_USER_HOME
22distributionPath =wrapper/dists
3- distributionUrl =https\://services.gradle.org/distributions/gradle-4.8.1 -bin.zip
3+ distributionUrl =https\://services.gradle.org/distributions/gradle-4.9 -bin.zip
44zipStoreBase =GRADLE_USER_HOME
55zipStorePath =wrapper/dists
You can’t perform that action at this time.
0 commit comments