Skip to content

Commit de90a5d

Browse files
authored
Merge pull request #1621 from StoDevX/trusty-android
Upgrade Travis' Android builds to Trusty Tahr
2 parents f31e5eb + d52c846 commit de90a5d

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

.travis.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,9 @@ matrix:
2727

2828
- &android-base
2929
os: linux
30-
dist: precise
30+
dist: trusty
3131
sudo: required
3232
language: android
33-
jdk: oraclejdk8
3433
env: [ANDROID=yes, CAN_DEPLOY=yes]
3534
android:
3635
components:
@@ -39,7 +38,6 @@ matrix:
3938
- build-tools-23.0.1
4039
- build-tools-23.0.2
4140
- build-tools-25.0.1
42-
- build-tools-23.0.3
4341
- build-tools-25.0.2
4442
- build-tools-25.0.3
4543
- build-tools-26.0.1

android/app/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ def enableProguardInReleaseBuilds = false
9696

9797
android {
9898
compileSdkVersion 23
99-
buildToolsVersion "25.0.3"
99+
buildToolsVersion "26.0.1"
100100

101101
defaultConfig {
102102
applicationId "com.allaboutolaf"
@@ -108,7 +108,7 @@ android {
108108
abiFilters "armeabi-v7a", "x86"
109109
}
110110
manifestPlaceholders = [
111-
manifestApplicationId: "${applicationId}",
111+
manifestApplicationId: applicationId,
112112
onesignal_app_id: "aa46a500-ab1c-4127-b9ff-e7373da3ce35",
113113
onesignal_google_project_number: "185558680648",
114114
gmaps_key: System.getenv("GMAPS_KEY") ?: "",
@@ -157,7 +157,7 @@ android {
157157
// borrowed from https://gist.github.com/gabrielemariotti/6856974
158158
def propFile = new File('android/app//signing.properties')
159159
if (propFile.canRead()) {
160-
def Properties props = new Properties()
160+
Properties props = new Properties()
161161
props.load(new FileInputStream(propFile))
162162
if (props != null
163163
&& props.containsKey('STORE_FILE')

0 commit comments

Comments
 (0)