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:
10
10
- $HOME/.gradle/wrapper/
11
11
- $HOME/.android/build-cache
12
12
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"
13
17
android :
14
18
components :
19
+ # https://github.com/travis-ci/travis-ci/issues/6040#issuecomment-219367943
20
+ - tools
15
21
- tools
16
- - platform-tools
17
- - build-tools-26.0.1
18
- - android-26
19
22
23
+ before_script : echo y | ${ANDROID_HOME}tools/bin/sdkmanager --channel=3 "tools" "platform-tools" "platforms;android-27"
20
24
script : ./gradlew build
21
25
22
26
after_failure :
Original file line number Diff line number Diff line change @@ -2,7 +2,6 @@ apply plugin: 'com.android.application'
2
2
3
3
android {
4
4
compileSdkVersion compileSdk
5
- buildToolsVersion buildTools
6
5
7
6
defaultConfig {
8
7
applicationId " pub.devrel.easypermissions.sample"
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ buildscript {
5
5
}
6
6
7
7
dependencies {
8
- classpath ' com.android.tools.build:gradle:3.0.0-beta6 '
8
+ classpath ' com.android.tools.build:gradle:3.0.0'
9
9
10
10
classpath ' com.github.dcendents:android-maven-gradle-plugin:1.5'
11
11
classpath ' com.jfrog.bintray.gradle:gradle-bintray-plugin:1.7.3'
35
35
36
36
bintrayOrg = ' easygoogle'
37
37
38
- support_library_version = ' 26 .0.1'
38
+ support_library_version = ' 27 .0.1'
39
39
40
- buildTools = ' 26.0.1'
41
- compileSdk = 26
42
- targetSdk = 26
40
+ compileSdk = 27
41
+ targetSdk = 27
43
42
}
Original file line number Diff line number Diff line change @@ -2,7 +2,6 @@ apply plugin: 'com.android.library'
2
2
3
3
android {
4
4
compileSdkVersion compileSdk
5
- buildToolsVersion buildTools
6
5
7
6
defaultConfig {
8
7
minSdkVersion 14
@@ -25,7 +24,7 @@ dependencies {
25
24
api " com.android.support:support-fragment:$support_library_version "
26
25
27
26
testImplementation ' junit:junit:4.12'
28
- testImplementation ' org.robolectric:robolectric:3.4.2 '
27
+ testImplementation ' org.robolectric:robolectric:3.5.1 '
29
28
}
30
29
31
30
apply from : ' maven.gradle'
Original file line number Diff line number Diff line change 1
- # Fri Aug 18 16:20:16 PDT 2017
2
1
distributionBase =GRADLE_USER_HOME
3
2
distributionPath =wrapper/dists
4
3
zipStoreBase =GRADLE_USER_HOME
5
4
zipStorePath =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