set Target SDK back to 25 (->for release)

This commit is contained in:
y20k 2017-06-12 10:11:51 +02:00
parent 16f9f0e3ab
commit b7714e0a2a
2 changed files with 26 additions and 10 deletions

View file

@ -1,15 +1,15 @@
apply plugin: 'com.android.application'
android {
compileSdkVersion 26
buildToolsVersion '26.0.0'
compileSdkVersion project.ext.compileSdkVersion
buildToolsVersion project.ext.buildToolsVersion
defaultConfig {
applicationId "org.y20k.trackbook"
minSdkVersion 22
targetSdkVersion 26
versionCode 11
versionName "1.0.4 (Astronomy Domine)"
applicationId project.ext.applicationId
minSdkVersion project.ext.minSdkVersion
targetSdkVersion project.ext.targetSdkVersion
versionCode project.ext.versionCode
versionName project.ext.versionName
vectorDrawables.useSupportLibrary = true
}
buildTypes {
@ -22,9 +22,9 @@ android {
dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
compile 'com.android.support:appcompat-v7:26.0.0-beta2'
compile 'com.android.support:design:26.0.0-beta2'
compile 'com.android.support:cardview-v7:26.0.0-beta2'
compile 'com.android.support:appcompat-v7:' + supportLibraryVersion
compile 'com.android.support:design:' + supportLibraryVersion
compile 'com.android.support:cardview-v7:' + supportLibraryVersion
compile 'org.osmdroid:osmdroid-android:5.6.4'
compile 'com.google.code.gson:gson:2.8.1'
}

View file

@ -19,6 +19,22 @@ allprojects {
url "https://maven.google.com"
}
}
project.ext {
applicationId = 'org.y20k.trackbook'
versionCode = 11
versionName = '1.0.4 (Astronomy Domine)'
minSdkVersion = 22
// Android N - release
compileSdkVersion = 25
targetSdkVersion = 25
buildToolsVersion = '25.0.3 '
supportLibraryVersion = '25.4.0'
// Android O - test
// compileSdkVersion = 26
// targetSdkVersion = 26
// buildToolsVersion = '26.0.0'
// supportLibraryVersion = '26.0.0-beta2'
}
}
task clean(type: Delete) {