Skip to content

Commit

Permalink
Restore android version to 23
Browse files Browse the repository at this point in the history
  • Loading branch information
gscdev committed Dec 20, 2017
1 parent deef613 commit a2092b2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 13 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
15 changes: 4 additions & 11 deletions app/build.gradle
Original file line number Diff line number Diff line change
@@ -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"
Expand Down Expand Up @@ -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"')
}
}

Expand All @@ -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'
}

0 comments on commit a2092b2

Please sign in to comment.