File tree 5 files changed +16
-13
lines changed
5 files changed +16
-13
lines changed Original file line number Diff line number Diff line change @@ -6,10 +6,10 @@ android:
6
6
components :
7
7
- tools
8
8
- platform-tools
9
- - build-tools-26.0.1
10
- - android-26
11
- licenses :
12
- - android-sdk-license-.+
9
+ - android-28
10
+ before_install :
11
+ - mkdir "$ANDROID_HOME/ licenses" || true
12
+ - echo "d56f5187479451eabf01fb78af6dfcb131a6481e" > "$ANDROID_HOME/licenses/ android-sdk-license"
13
13
script :
14
14
- " ./gradlew build check --daemon"
15
15
after_failure : " cat $TRAVIS_BUILD_DIR/app/build/outputs/lint-results-debug.xml"
Original file line number Diff line number Diff line change 1
1
apply plugin : ' com.android.application'
2
2
3
3
android {
4
- compileSdkVersion 27
5
- buildToolsVersion " 27.0.3"
4
+ compileSdkVersion 28
6
5
7
6
defaultConfig {
8
7
applicationId " com.example.mapdemo"
9
8
minSdkVersion 18
10
- targetSdkVersion 27
9
+ targetSdkVersion 28
11
10
}
12
11
13
12
buildTypes {
@@ -20,7 +19,7 @@ android {
20
19
21
20
ext {
22
21
permissionDispatcherVersion = " 3.2.0"
23
- supportLibVersion = " 27.1.1 "
22
+ supportLibVersion = " 28.0.0 "
24
23
googlePlayVersion = " 15.0.0"
25
24
}
26
25
Original file line number Diff line number Diff line change 22
22
android : icon =" @drawable/ic_launcher"
23
23
android : label =" @string/app_name"
24
24
android : theme =" @style/AppTheme" >
25
+
26
+ <!-- https://stackoverflow.com/a/50779232/961939 -->
27
+ <uses-library android : name =" org.apache.http.legacy" android : required =" false" />
28
+
25
29
<activity
26
30
android : name =" com.example.mapdemo.MapDemoActivity"
27
31
android : label =" @string/app_name" >
Original file line number Diff line number Diff line change 1
1
// Top-level build file where you can add configuration options common to all sub-projects/modules.
2
2
buildscript {
3
3
repositories {
4
- jcenter()
5
4
google()
5
+ jcenter()
6
6
}
7
7
dependencies {
8
- classpath ' com.android.tools.build:gradle:3.1.2 '
8
+ classpath ' com.android.tools.build:gradle:3.2.0 '
9
9
}
10
10
}
11
11
12
12
allprojects {
13
13
repositories {
14
- jcenter()
15
14
google()
15
+ jcenter()
16
16
}
17
17
}
Original file line number Diff line number Diff line change 1
- # Tue May 01 22:46:38 PDT 2018
1
+ # Tue Dec 04 23:49:07 PST 2018
2
2
distributionBase =GRADLE_USER_HOME
3
3
distributionPath =wrapper/dists
4
4
zipStoreBase =GRADLE_USER_HOME
5
5
zipStorePath =wrapper/dists
6
- distributionUrl =https\://services.gradle.org/distributions/gradle-4.4 -all.zip
6
+ distributionUrl =https\://services.gradle.org/distributions/gradle-4.6 -all.zip
You can’t perform that action at this time.
0 commit comments