From a2092b2169313f67d1ae17119a4aadebf58c8e87 Mon Sep 17 00:00:00 2001 From: gsc Date: Thu, 21 Dec 2017 00:06:17 +0100 Subject: [PATCH] Restore android version to 23 --- .travis.yml | 4 ++-- app/build.gradle | 15 ++++----------- 2 files changed, 6 insertions(+), 13 deletions(-) diff --git a/.travis.yml b/.travis.yml index 8a414c1..3ba9d37 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,8 +10,8 @@ jdk: android: components: - tools - - build-tools-26.0.2 - - android-26 + - build-tools-23.0.1 + - android-23 - extra-android-m2repository notifications: diff --git a/app/build.gradle b/app/build.gradle index 4501251..236bd4b 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -1,12 +1,13 @@ apply plugin: 'com.android.application' android { - compileSdkVersion 26 + compileSdkVersion 23 + buildToolsVersion '23.0.1' defaultConfig { applicationId "com.gsc.testapp" minSdkVersion 21 - targetSdkVersion 26 + targetSdkVersion 23 versionCode versionCodeProperty as Integer versionName versionNameProperty testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" @@ -37,17 +38,9 @@ android { debug { applicationIdSuffix ".debug" versionNameSuffix "-debug" - buildConfigField("String", "DOMAIN", '"test.elimu.ai"') - buildConfigField("String", "BASE_URL", '"http://test.elimu.ai"') - buildConfigField("String", "REST_URL", '"http://test.elimu.ai/rest/v1"') - buildConfigField("String", "APPSTORE_SECRET", '"rafiki"') } release { - buildConfigField("String", "DOMAIN", '"elimu.ai"') - buildConfigField("String", "BASE_URL", '"http://elimu.ai"') - buildConfigField("String", "REST_URL", '"http://elimu.ai/rest/v1"') - buildConfigField("String", "APPSTORE_SECRET", '"57million"') } } @@ -59,6 +52,6 @@ android { dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.1' - implementation "com.android.support:appcompat-v7:26.0.1" + implementation "com.android.support:appcompat-v7:23.4.0" testImplementation 'junit:junit:4.12' }