1
0
Fork 0
mirror of https://github.com/gsantner/dandelion synced 2025-09-09 18:29:47 +02:00

Update android sdk to api 26

This commit is contained in:
Gregor Santner 2017-08-04 05:42:43 +02:00
parent a5a307c076
commit acb27766a8
No known key found for this signature in database
GPG key ID: 7E83A7834AECB009
9 changed files with 93 additions and 28 deletions

View file

@ -1,16 +1,30 @@
apply plugin: 'com.android.application'
apply plugin: 'android-apt'
ext {
version_sdk = [
compileSdk : 26,
buildTools : "26.0.1",
minSdk : 17
//targetSdk: compileSdk,
]
version_sdk.targetSdk = version_sdk.compileSdk
version_lib = [
appcompat : "26.0.0",
butterknife : "8.7.0",
netcipher : "2.0.0-alpha1"
]
}
android {
compileSdkVersion 24
buildToolsVersion "24.0.3"
compileSdkVersion version_sdk.compileSdk
buildToolsVersion version_sdk.buildTools
defaultConfig {
minSdkVersion 17
targetSdkVersion 24
minSdkVersion version_sdk.minSdk
targetSdkVersion version_sdk.targetSdk
versionCode 21
versionName "1.0.1"
versionCode 22
versionName "1.0.2-dev"
applicationId "com.github.dfa.diaspora_android"
resValue 'string', 'app_name', "dandelion*"
@ -54,6 +68,7 @@ android {
// Additional repositories
repositories {
google()
maven {
url "https://jitpack.io"
}
@ -68,18 +83,19 @@ dependencies {
testCompile 'junit:junit:4.12'
// Android standard libs
compile 'com.android.support:appcompat-v7:24.2.1'
compile 'com.android.support:design:24.1.0' //Don't update. Broken up to 25.0.0
compile 'com.android.support:support-v4:24.2.1'
compile 'com.android.support:customtabs:24.2.1'
compile 'com.android.support:cardview-v7:24.2.1'
compile "com.android.support:appcompat-v7:${version_lib.appcompat}"
compile "com.android.support:design:${version_lib.appcompat}"
compile "com.android.support:support-v4:${version_lib.appcompat}"
compile "com.android.support:customtabs:${version_lib.appcompat}"
compile "com.android.support:cardview-v7:${version_lib.appcompat}"
// More libraries
compile 'com.jakewharton:butterknife:8.0.1'
compile 'info.guardianproject.netcipher:netcipher:2.0.0-alpha1'
compile 'info.guardianproject.netcipher:netcipher-webkit:2.0.0-alpha1'
compile 'com.github.DASAR:ShiftColorPicker:v0.5'
apt 'com.jakewharton:butterknife-compiler:8.0.1'
compile "com.jakewharton:butterknife:${version_lib.butterknife}"
compile "info.guardianproject.netcipher:netcipher:${version_lib.netcipher}"
compile "info.guardianproject.netcipher:netcipher-webkit:${version_lib.netcipher}"
compile "com.github.DASAR:ShiftColorPicker:v0.5"
annotationProcessor "com.jakewharton:butterknife-compiler:${version_lib.butterknife}"
}
// #####################