This repository was archived by the owner on Oct 3, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 6 files changed +13
-13
lines changed
Expand file tree Collapse file tree 6 files changed +13
-13
lines changed Original file line number Diff line number Diff line change @@ -10,13 +10,17 @@ cache:
1010 - $HOME/.gradle/wrapper/
1111 - $HOME/.android/build-cache
1212
13+ before_install :
14+ - mkdir "$ANDROID_HOME/licenses" || true
15+ - echo -e "\n8933bad161af4178b1185d1a37fbf41ea5269c55" > "$ANDROID_HOME/licenses/android-sdk-license"
16+ - echo -e "\n84831b9409646a918e30573bab4c9c91346d8abd" > "$ANDROID_HOME/licenses/android-sdk-preview-license"
1317android :
1418 components :
19+ # https://github.com/travis-ci/travis-ci/issues/6040#issuecomment-219367943
20+ - tools
1521 - tools
16- - platform-tools
17- - build-tools-26.0.1
18- - android-26
1922
23+ before_script : echo y | ${ANDROID_HOME}tools/bin/sdkmanager --channel=3 "tools" "platform-tools" "platforms;android-27"
2024script : ./gradlew build
2125
2226after_failure :
Original file line number Diff line number Diff line change @@ -2,7 +2,6 @@ apply plugin: 'com.android.application'
22
33android {
44 compileSdkVersion compileSdk
5- buildToolsVersion buildTools
65
76 defaultConfig {
87 applicationId " pub.devrel.easypermissions.sample"
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ buildscript {
55 }
66
77 dependencies {
8- classpath ' com.android.tools.build:gradle:3.0.0-beta6 '
8+ classpath ' com.android.tools.build:gradle:3.0.0'
99
1010 classpath ' com.github.dcendents:android-maven-gradle-plugin:1.5'
1111 classpath ' com.jfrog.bintray.gradle:gradle-bintray-plugin:1.7.3'
3535
3636 bintrayOrg = ' easygoogle'
3737
38- support_library_version = ' 26 .0.1'
38+ support_library_version = ' 27 .0.1'
3939
40- buildTools = ' 26.0.1'
41- compileSdk = 26
42- targetSdk = 26
40+ compileSdk = 27
41+ targetSdk = 27
4342}
Original file line number Diff line number Diff line change @@ -2,7 +2,6 @@ apply plugin: 'com.android.library'
22
33android {
44 compileSdkVersion compileSdk
5- buildToolsVersion buildTools
65
76 defaultConfig {
87 minSdkVersion 14
@@ -25,7 +24,7 @@ dependencies {
2524 api " com.android.support:support-fragment:$support_library_version "
2625
2726 testImplementation ' junit:junit:4.12'
28- testImplementation ' org.robolectric:robolectric:3.4.2 '
27+ testImplementation ' org.robolectric:robolectric:3.5.1 '
2928}
3029
3130apply from : ' maven.gradle'
Original file line number Diff line number Diff line change 1- # Fri Aug 18 16:20:16 PDT 2017
21distributionBase =GRADLE_USER_HOME
32distributionPath =wrapper/dists
43zipStoreBase =GRADLE_USER_HOME
54zipStorePath =wrapper/dists
6- distributionUrl =https\://services.gradle.org/distributions/gradle-4.1-all.zip
5+ distributionUrl =https\://services.gradle.org/distributions/gradle-4.3. 1-all.zip
You can’t perform that action at this time.
0 commit comments