Skip to content

Commit df98826

Browse files
committed
Updated Gradle to 4.10.2 and Java to 11
1 parent f8874c8 commit df98826

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

build.gradle

+4-4
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ dependencies {
2020
compile 'org.apache.maven.shared:maven-dependency-analyzer:1.10'
2121
}
2222

23-
sourceCompatibility = JavaVersion.VERSION_1_10
24-
targetCompatibility = JavaVersion.VERSION_1_10
23+
sourceCompatibility = JavaVersion.VERSION_11
24+
targetCompatibility = JavaVersion.VERSION_11
2525

2626
task sourcesJar(type: Jar, dependsOn: classes) {
2727
classifier = 'sources'
@@ -84,8 +84,8 @@ publishing {
8484

8585
task javaVersionCheck() {
8686
doLast {
87-
if (JavaVersion.current() != JavaVersion.VERSION_1_10) {
88-
throw new GradleException('Build must be run on Java 10')
87+
if (JavaVersion.current() != JavaVersion.VERSION_11) {
88+
throw new GradleException('Build must be run on Java 11')
8989
}
9090
}
9191
}

gradle/wrapper/gradle-wrapper.jar

1.72 KB
Binary file not shown.
+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-4.9-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.2-bin.zip
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists

0 commit comments

Comments
 (0)