2016-09-12 12:20:24 +02:00
|
|
|
apply plugin: 'com.android.application'
|
|
|
|
|
2016-09-12 15:44:55 +02:00
|
|
|
// for butterknive:
|
|
|
|
apply plugin: 'android-apt'
|
|
|
|
|
2016-09-12 12:20:24 +02:00
|
|
|
android {
|
2016-10-21 21:46:20 +02:00
|
|
|
compileSdkVersion 25
|
2017-03-11 19:06:49 +01:00
|
|
|
buildToolsVersion '25.0.0'
|
2016-09-12 12:20:24 +02:00
|
|
|
|
|
|
|
defaultConfig {
|
|
|
|
applicationId "de.christinecoenen.code.zapp"
|
2017-03-21 21:30:15 +01:00
|
|
|
minSdkVersion 19
|
2016-10-21 21:46:20 +02:00
|
|
|
targetSdkVersion 25
|
2017-03-29 19:15:05 +02:00
|
|
|
versionCode 12
|
|
|
|
versionName "1.3.4"
|
2016-10-05 16:55:01 +02:00
|
|
|
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
2016-09-12 12:20:24 +02:00
|
|
|
}
|
|
|
|
buildTypes {
|
2017-03-26 13:51:21 +02:00
|
|
|
debug {
|
|
|
|
minifyEnabled true
|
|
|
|
useProguard false
|
|
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
|
|
signingConfig signingConfigs.debug
|
|
|
|
}
|
2016-09-12 12:20:24 +02:00
|
|
|
release {
|
2017-03-26 13:51:21 +02:00
|
|
|
minifyEnabled true
|
2016-09-12 12:20:24 +02:00
|
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
|
|
}
|
|
|
|
}
|
2017-03-26 11:52:33 +02:00
|
|
|
productFlavors {
|
|
|
|
foss {
|
|
|
|
versionNameSuffix "-foss"
|
|
|
|
}
|
2017-03-26 13:57:32 +02:00
|
|
|
google {
|
|
|
|
versionNameSuffix "-google"
|
|
|
|
}
|
2017-03-26 11:52:33 +02:00
|
|
|
}
|
2016-09-19 13:52:16 +02:00
|
|
|
|
|
|
|
// avoid warning for "Not all execution paths return a value"
|
|
|
|
return void
|
2016-09-12 12:20:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2016-09-24 21:46:26 +02:00
|
|
|
compile fileTree(include: ['*.jar'], dir: 'libs')
|
2016-10-11 21:21:17 +02:00
|
|
|
compile project(':programguide')
|
2016-10-05 16:55:01 +02:00
|
|
|
|
2016-10-11 21:21:17 +02:00
|
|
|
// tests
|
|
|
|
testCompile 'junit:junit:4.12'
|
2017-03-25 11:02:01 +01:00
|
|
|
androidTestCompile 'com.android.support:support-annotations:25.3.0'
|
2016-10-05 16:55:01 +02:00
|
|
|
androidTestCompile 'com.android.support.test:runner:0.5'
|
|
|
|
androidTestCompile 'com.android.support.test:rules:0.5'
|
|
|
|
|
2016-10-11 21:21:17 +02:00
|
|
|
// support
|
2017-03-25 11:02:01 +01:00
|
|
|
compile 'com.android.support:appcompat-v7:25.3.0'
|
|
|
|
compile 'com.android.support:support-v4:25.3.0'
|
|
|
|
compile 'com.android.support:design:25.3.0'
|
2016-10-11 21:21:17 +02:00
|
|
|
|
|
|
|
// helper
|
2016-09-19 11:47:55 +02:00
|
|
|
compile 'com.google.code.gson:gson:2.7'
|
|
|
|
compile 'commons-io:commons-io:2.5'
|
2016-10-11 21:21:17 +02:00
|
|
|
|
2016-09-19 21:02:39 +02:00
|
|
|
// changelog
|
|
|
|
compile 'com.github.porokoro.paperboy:paperboy:3.0.0'
|
2016-10-11 21:21:17 +02:00
|
|
|
|
|
|
|
// sortable list
|
|
|
|
compile 'com.github.woxthebox:draglistview:1.3'
|
|
|
|
|
2016-11-02 11:34:33 +01:00
|
|
|
// markdown
|
|
|
|
compile 'com.github.fiskurgit:MarkdownView:1.1.0'
|
|
|
|
|
2016-10-11 21:21:17 +02:00
|
|
|
// butterknive:
|
2016-09-12 15:44:55 +02:00
|
|
|
compile 'com.jakewharton:butterknife:8.4.0'
|
|
|
|
apt 'com.jakewharton:butterknife-compiler:8.4.0'
|
2016-09-12 12:20:24 +02:00
|
|
|
}
|