Bump gradle wrapper version.
Satisfies minimum version of Android gradle plugin. See https://developer.android.com/studio/releases/gradle-plugin#updating-gradle
This solves a recent issue in building with gradle. The following error occurs when using the current gradle wrapper:
$ ./gradlew assembleDebug
Picked up _JAVA_OPTIONS: -XX:+UnlockExperimentalVMOptions -XX:+UseCGroupMemoryLimitForHeap
Starting a Gradle Daemon, 1 incompatible and 1 stopped Daemons could not be reused, use --status for details
FAILURE: Build failed with an exception.
* Where:
Build file '/home/build.gradle' line: 1
* What went wrong:
A problem occurred evaluating root project 'home'.
> Failed to apply plugin [id 'com.android.internal.version-check']
> Minimum supported Gradle version is 5.6.4. Current version is 5.4.1. If using the gradle wrapper, try editing the distributionUrl in /home/gradle/wrapper/gradle-wrapper.properties to gradle-5.6.4-all.zip
Also, gradlew.bat
is supposed to be CRLF ending. However, a remote hook on this GitLab server prevents me from pushing files with CRLF ending. best thing I can do is to explicitly state the line ending in .gitattributes
so that it is converted to CRLF during checkout.
Edited by Abdel-Rahman Abdel-Rahman