Skip to content

Commit 4d2863b

Browse files
committed
Update to Gradle 5.6.3.
1 parent 1ed7284 commit 4d2863b

File tree

5 files changed

+101
-64
lines changed

5 files changed

+101
-64
lines changed

build.gradle

Lines changed: 19 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -115,13 +115,15 @@ artifacts {
115115
archives javadocJar;
116116
}
117117

118-
task wrapper(type: Wrapper) {
119-
gradleVersion = "3.5";
120-
distributionUrl = "http://services.gradle.org/distributions/gradle-${gradleVersion}-all.zip";
118+
wrapper {
119+
gradleVersion = "5.6.3";
120+
distributionUrl = "https://services.gradle.org/distributions/gradle-${gradleVersion}-all.zip";
121121
}
122122

123-
task pom << {
124-
pom {}.writeTo("${projectDir}/pom.xml");
123+
task pom {
124+
doLast {
125+
pom {}.writeTo("${projectDir}/pom.xml");
126+
}
125127
}
126128

127129
/*
@@ -136,18 +138,20 @@ project.ext {
136138
sonatypeSnapshots = "https://oss.sonatype.org/content/repositories/snapshots/";
137139
};
138140

139-
task checkSigningRequirements << {
140-
def requiredProperties = [ "sonatypeUsername", "sonatypePassword" ];
141-
def noDice = false;
142-
requiredProperties.each {
143-
if (project.properties[it] == null) {
144-
noDice = true;
145-
System.err.printf("property \"%s\" is not defined!")
141+
task checkSigningRequirements {
142+
doLast {
143+
def requiredProperties = [ "sonatypeUsername", "sonatypePassword" ];
144+
def noDice = false;
145+
requiredProperties.each {
146+
if (project.properties[it] == null) {
147+
noDice = true;
148+
System.err.printf("property \"%s\" is not defined!")
149+
}
146150
}
151+
if (noDice)
152+
throw new IllegalStateException("missing required properties for " +
153+
"upload");
147154
}
148-
if (noDice)
149-
throw new IllegalStateException("missing required properties for " +
150-
"upload");
151155
}
152156

153157
uploadArchives {

gradle/wrapper/gradle-wrapper.jar

4.4 KB
Binary file not shown.
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
#Fri May 11 21:07:09 PDT 2018
21
distributionBase=GRADLE_USER_HOME
32
distributionPath=wrapper/dists
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.3-all.zip
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists
6-
distributionUrl=http\://services.gradle.org/distributions/gradle-3.5-all.zip

gradlew

Lines changed: 61 additions & 37 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gradlew.bat

Lines changed: 20 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)