Browse Source

Gradle/Gradlew/AndroidGradlePlugin update.

pull/9/head
Alan Evans 3 years ago
committed by Greyson Parrelli
parent
commit
d8a56be5e8
  1. 11
      build.gradle
  2. 4
      buildSrc/build.gradle
  3. BIN
      gradle/wrapper/gradle-wrapper.jar
  4. 3
      gradle/wrapper/gradle-wrapper.properties
  5. 8
      gradlew
  6. 2
      gradlew.bat

11
build.gradle

@ -4,17 +4,13 @@ import java.security.MessageDigest
buildscript {
repositories {
maven {
url 'https://maven.google.com/'
name 'Google'
}
google()
maven {
url "https://repo1.maven.org/maven2"
jcenter()
}
}
dependencies {
classpath 'com.android.tools.build:gradle:3.3.0'
classpath 'com.android.tools.build:gradle:3.3.2'
classpath files('libs/gradle-witness.jar')
}
}
@ -53,9 +49,6 @@ repositories {
includeGroupByRegex "com\\.amulyakhare.*"
}
}
maven {
url "https://maven.google.com"
}
google()
jcenter()
mavenLocal()

4
buildSrc/build.gradle

@ -1,9 +1,9 @@
apply plugin: 'java-gradle-plugin'
repositories {
mavenCentral()
google()
}
dependencies {
compile group: 'com.android.tools.build', name: 'apksig', version: '2.3.0'
compile 'com.android.tools.build:apksig:3.3.2'
}

BIN
gradle/wrapper/gradle-wrapper.jar

Binary file not shown.

3
gradle/wrapper/gradle-wrapper.properties

@ -1,6 +1,5 @@
#Mon Nov 06 08:48:17 PST 2017
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-5.2.1-all.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-5.1-all.zip

8
gradlew

@ -28,16 +28,16 @@ APP_NAME="Gradle"
APP_BASE_NAME=`basename "$0"`
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
DEFAULT_JVM_OPTS=""
DEFAULT_JVM_OPTS='"-Xmx64m"'
# Use the maximum available, or set MAX_FD != -1 to use that value.
MAX_FD="maximum"
warn ( ) {
warn () {
echo "$*"
}
die ( ) {
die () {
echo
echo "$*"
echo
@ -155,7 +155,7 @@ if $cygwin ; then
fi
# Escape application args
save ( ) {
save () {
for i do printf %s\\n "$i" | sed "s/'/'\\\\''/g;1s/^/'/;\$s/\$/' \\\\/" ; done
echo " "
}

2
gradlew.bat

@ -14,7 +14,7 @@ set APP_BASE_NAME=%~n0
set APP_HOME=%DIRNAME%
@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
set DEFAULT_JVM_OPTS=
set DEFAULT_JVM_OPTS="-Xmx64m"
@rem Find java.exe
if defined JAVA_HOME goto findJavaFromJavaHome

Loading…
Cancel
Save