Upgrade Gradle (#719)

This commit is contained in:
Dmitri Davydok 2018-02-26 10:35:46 -08:00 committed by Adrian Ulrich
parent 5da833512b
commit fd601ae169
4 changed files with 15 additions and 13 deletions

View File

@ -57,8 +57,9 @@ To build you will need:
* A Java compiler compatible with Java 1.8
* The Android SDK with platform 26 installed
Building from command-line #1
Building from command-line
--------------------------
> Note: at the time of this writing, the current version of Gradle ([4.5.1](https://gradle.org/releases/)) is not compatible with the current version of JDK ([9.0.4](http://www.oracle.com/technetwork/java/javase/downloads/jdk9-downloads-3848520.html)). To have the build succeed, use JDK version [1.8.0_162](http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html).
* `gradle build` to build the APK
* Optional: `gradle installDebug` to install the APK to a connected device

View File

@ -7,7 +7,6 @@ android {
}
compileSdkVersion 26
buildToolsVersion "26.0.1"
defaultConfig {
applicationId "ch.blinkenlights.android.vanilla"

View File

@ -1,13 +1,15 @@
buildscript {
repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.3.3'
classpath 'com.android.tools.build:gradle:3.0.1'
}
}
allprojects {
repositories {
jcenter()
}
repositories {
google()
jcenter()
}
}

View File

@ -1,7 +1,7 @@
#Sun May 28 17:31:34 MSK 2017
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-3.3-all.zip
distributionSha256Sum=71a787faed83c4ef21e8464cc8452b941b5fcd575043aa29d39d15d879be89f7
#Mon Feb 19 16:01:33 PST 2018
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-4.1-all.zip
distributionSha256Sum=5c07b3bac2209fbc98fb1fdf6fd831f72429cdf8c503807404eae03d8c8099e5