Update the Android plugin for Gradle. (#677)

Add Android SDK components in .travis.yml
This commit is contained in:
Abdul Wadood 2018-04-01 23:53:45 +05:30 committed by Isaac Hutt
parent ebac71aeed
commit 1e03a4ae72
5 changed files with 17 additions and 5 deletions

View File

@ -18,6 +18,14 @@ cache:
- $HOME/.gradle/wrapper/
- $HOME/.android/build-cache
android:
components:
- tools
- platform-tools
- tools
- build-tools-27.0.3
- android-27
licenses:
- '.+'

View File

@ -8,7 +8,7 @@ buildscript {
}
dependencies {
classpath 'com.android.tools.build:gradle:3.0.1'
classpath 'com.android.tools.build:gradle:3.1.0'
classpath 'com.testdroid:gradle:1.5.0'
classpath 'org.apache.httpcomponents:httpclient-android:4.3.3'
}
@ -79,6 +79,8 @@ dependencies {
implementation 'com.google.dagger:dagger:2.0.2'
annotationProcessor "com.google.dagger:dagger-compiler:2.0.2"
androidTestAnnotationProcessor "com.google.dagger:dagger-compiler:2.0.2"
compileOnly "javax.annotation:javax.annotation-api:$javaxAnnotationVersion"
androidTestCompileOnly "javax.annotation:javax.annotation-api:$javaxAnnotationVersion"
// SquiDB
implementation 'com.yahoo.squidb:squidb:2.0.0'

View File

@ -6,7 +6,7 @@ buildscript {
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.0.1'
classpath 'com.android.tools.build:gradle:3.1.0'
classpath 'com.squareup.spoon:spoon-runner:1.7.1'
classpath 'com.stanfy.spoon:spoon-gradle-plugin:1.2.2'
@ -21,6 +21,7 @@ ext {
rxAndroidVersion = '2.0.2'
okHttpVersion = '3.9.1'
retrofitVersion = '2.3.0'
javaxAnnotationVersion = '1.3.2'
}
allprojects {

View File

@ -1 +1,2 @@
android.enableD8=true
android.enableD8=true
android.enableD8.desugaring=true

View File

@ -1,6 +1,6 @@
#Sat Nov 25 16:36:07 GMT 2017
#Tue Mar 27 23:53:46 IST 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
distributionUrl=https\://services.gradle.org/distributions/gradle-4.4-all.zip