Bump Gradle to 2.9

I'd do 2.10, the current stable, but the android plugin seems to break
with it.
This commit is contained in:
Daniel Martí 2016-01-05 09:23:36 +01:00
parent e1510d2329
commit 57f5180dae
3 changed files with 4 additions and 4 deletions

View File

@ -19,9 +19,9 @@ before_script:
- echo " == Installing Android emulator images" - echo " == Installing Android emulator images"
- echo y | android -s update sdk --no-ui -a -t android-10 - echo y | android -s update sdk --no-ui -a -t android-10
- echo " == Installing Gradle" - echo " == Installing Gradle"
- wget -q -O gradle.zip https://services.gradle.org/distributions/gradle-2.8-bin.zip - wget -q -O gradle.zip https://services.gradle.org/distributions/gradle-2.9-bin.zip
- unzip -q gradle.zip - unzip -q gradle.zip
- export PATH="$PWD/gradle-2.8/bin:$PATH" - export PATH="$PWD/gradle-2.9/bin:$PATH"
test: test:
script: script:

View File

@ -8,7 +8,7 @@ for Android.
## Building with Gradle ## Building with Gradle
The only requirements are the [Android SDK](https://developer.android.com/sdk/) The only requirements are the [Android SDK](https://developer.android.com/sdk/)
and [Gradle](http://gradle.org/) 2.8: and [Gradle](http://gradle.org/) 2.9:
cd F-Droid cd F-Droid
gradle assembleRelease gradle assembleRelease

View File

@ -9,5 +9,5 @@ buildscript {
} }
task wrapper(type: Wrapper) { task wrapper(type: Wrapper) {
gradleVersion = '2.8' gradleVersion = '2.9'
} }