revert sdk to 23

This commit is contained in:
Milos Kozak 2017-04-22 10:18:31 +02:00
parent 20f99dffe2
commit c18fcfda62
3 changed files with 15 additions and 21 deletions

View file

@ -2,13 +2,13 @@ language: android
jdk: oraclejdk8 jdk: oraclejdk8
env: env:
matrix: matrix:
- ANDROID_TARGET=android-25 ANDROID_ABI=x86 - ANDROID_TARGET=android-23 ANDROID_ABI=x86
android: android:
components: components:
- platform-tools - platform-tools
- tools - tools
- build-tools-25.0.2 - build-tools-25.0.2
- android-25 - android-23
- extra-google-m2repository - extra-google-m2repository
- extra-android-m2repository - extra-android-m2repository
- extra-google-google_play_services - extra-google-google_play_services

View file

@ -36,27 +36,21 @@ def generateGitBuild = { ->
} }
android { android {
compileSdkVersion 25 compileSdkVersion 23
buildToolsVersion "25.0.2" buildToolsVersion "25.0.2"
defaultConfig { defaultConfig {
applicationId "info.nightscout.androidaps" applicationId "info.nightscout.androidaps"
minSdkVersion 21 minSdkVersion 21
targetSdkVersion 25 targetSdkVersion 23
versionCode 1400 versionCode 1400
version "1.4" version "1.4"
buildConfigField "String", "VERSION", '"' + version + '"' buildConfigField "String", "VERSION", '"' + version + '"'
buildConfigField "String", "BUILDVERSION", generateGitBuild() buildConfigField "String", "BUILDVERSION", generateGitBuild()
} }
dexOptions {
jumboMode true
}
lintOptions { lintOptions {
disable 'MissingTranslation' disable 'MissingTranslation'
} }
buildTypes { buildTypes {
release { release {
minifyEnabled false minifyEnabled false
@ -153,13 +147,13 @@ dependencies {
transitive = true; transitive = true;
} }
compile 'com.android.support:appcompat-v7:25.3.1' compile 'com.android.support:appcompat-v7:23.4.0'
compile 'com.android.support:support-v4:25.3.1' compile 'com.android.support:support-v4:23.4.0'
compile 'com.android.support:cardview-v7:25.3.1' compile 'com.android.support:cardview-v7:23.4.0'
compile 'com.android.support:recyclerview-v7:25.3.1' compile 'com.android.support:recyclerview-v7:23.4.0'
compile 'com.android.support:gridlayout-v7:25.3.1' compile 'com.android.support:gridlayout-v7:23.4.0'
compile "com.android.support:design:25.3.1" compile "com.android.support:design:23.4.0"
compile "com.android.support:percent:25.3.1" compile "com.android.support:percent:23.4.0"
compile 'com.wdullaer:materialdatetimepicker:2.3.0' compile 'com.wdullaer:materialdatetimepicker:2.3.0'
compile 'com.squareup:otto:1.3.7' compile 'com.squareup:otto:1.3.7'
compile 'com.j256.ormlite:ormlite-core:4.46' compile 'com.j256.ormlite:ormlite-core:4.46'

View file

@ -2,13 +2,13 @@ apply plugin: 'com.android.application'
android { android {
compileSdkVersion 25 compileSdkVersion 23
buildToolsVersion "25.0.2" buildToolsVersion "25.0.2"
defaultConfig { defaultConfig {
applicationId "info.nightscout.androidaps" applicationId "info.nightscout.androidaps"
minSdkVersion 20 minSdkVersion 20
targetSdkVersion 25 targetSdkVersion 23
versionCode 1 versionCode 1
versionName "1.0.2" versionName "1.0.2"
} }
@ -65,6 +65,6 @@ dependencies {
compile 'com.google.android.gms:play-services-wearable:7.3.0' compile 'com.google.android.gms:play-services-wearable:7.3.0'
compile files('libs/hellocharts-library-1.5.5.jar') compile files('libs/hellocharts-library-1.5.5.jar')
compile(name:'ustwo-clockwise-debug', ext:'aar') compile(name:'ustwo-clockwise-debug', ext:'aar')
compile 'com.android.support:support-v4:25.3.1' compile 'com.android.support:support-v4:23.0.1'
compile 'me.denley.wearpreferenceactivity:wearpreferenceactivity:0.5.0' compile 'me.denley.wearpreferenceactivity:wearpreferenceactivity:0.5.0'
} }