Skip to content

Commit ef5a237

Browse files
committed
Gradle wrapper: upgrade to Gradle 5.2.1
We have configured our Gradle wrapper to use Gradle 4.8.1 as the version used for executing the build. Gradle 5.2.1 has been announced for a while and it gives better support for JDK11[1], which we may wish to upgrade to in the future. To keep us updated with Gradle's development, let's upgrade to Gradle 5.2.1. The Gradle wrapper upgrade is performed by running the command: ./gradlew wrapper --gradle-version 5.2.1 Also, update any references to the Gradle version we are using in the code base to 5.2.1. [1] https://docs.gradle.org/5.2.1/release-notes.html
1 parent f207718 commit ef5a237

File tree

5 files changed

+4
-4
lines changed

5 files changed

+4
-4
lines changed

build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Gradle Configuration File
22
// For more details take a look at the Java Quickstart chapter in the Gradle
3-
// user guide available at http://gradle.org/docs/4.8.1/userguide/tutorial_java_projects.html
3+
// user guide available at http://gradle.org/docs/5.2.1/userguide/tutorial_java_projects.html
44

55
import org.gradle.api.tasks.testing.logging.TestLogEvent
66

gradle/wrapper/gradle-wrapper.jar

861 Bytes
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.8.1-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-5.2.1-bin.zip
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists

gradlew

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ APP_NAME="Gradle"
2828
APP_BASE_NAME=`basename "$0"`
2929

3030
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
31-
DEFAULT_JVM_OPTS=""
31+
DEFAULT_JVM_OPTS='"-Xmx64m"'
3232

3333
# Use the maximum available, or set MAX_FD != -1 to use that value.
3434
MAX_FD="maximum"

gradlew.bat

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ set APP_BASE_NAME=%~n0
1414
set APP_HOME=%DIRNAME%
1515

1616
@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
17-
set DEFAULT_JVM_OPTS=
17+
set DEFAULT_JVM_OPTS="-Xmx64m"
1818

1919
@rem Find java.exe
2020
if defined JAVA_HOME goto findJavaFromJavaHome

0 commit comments

Comments
 (0)