2016-03-03 17:46:31 +01:00
|
|
|
apply plugin: 'com.android.application'
|
2016-06-02 13:58:09 +02:00
|
|
|
apply plugin: 'android-apt'
|
2016-03-03 17:46:31 +01:00
|
|
|
|
|
|
|
android {
|
2016-07-04 14:12:45 +02:00
|
|
|
compileSdkVersion 24
|
2016-07-31 15:16:22 +02:00
|
|
|
buildToolsVersion "24.0.1"
|
2016-03-03 17:46:31 +01:00
|
|
|
useLibrary 'org.apache.http.legacy'
|
|
|
|
|
|
|
|
defaultConfig {
|
2016-03-29 19:38:50 +02:00
|
|
|
applicationId "com.github.dfa.diaspora_android"
|
2016-08-06 22:53:20 +02:00
|
|
|
minSdkVersion 17
|
2016-07-04 14:12:45 +02:00
|
|
|
targetSdkVersion 24
|
2016-08-14 11:34:36 +02:00
|
|
|
versionCode 6
|
|
|
|
versionName "0.1.5"
|
2016-03-03 17:46:31 +01:00
|
|
|
}
|
|
|
|
buildTypes {
|
|
|
|
release {
|
|
|
|
minifyEnabled false
|
|
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
|
|
}
|
|
|
|
}
|
2016-07-27 21:54:54 +02:00
|
|
|
|
|
|
|
lintOptions {
|
|
|
|
disable 'MissingTranslation'
|
|
|
|
}
|
2016-08-14 12:14:10 +02:00
|
|
|
|
|
|
|
applicationVariants.all { variant ->
|
|
|
|
variant.outputs.each { output ->
|
|
|
|
output.outputFile = new File(
|
|
|
|
output.outputFile.parent, "diasporaAndroid__${variant.versionName}__.apk")
|
|
|
|
}
|
|
|
|
}
|
2016-03-03 17:46:31 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2016-05-05 17:42:29 +02:00
|
|
|
// Sub-Projects
|
|
|
|
//compile project(':subprojectFromRoot')
|
|
|
|
|
|
|
|
// Jars
|
2016-03-03 17:46:31 +01:00
|
|
|
compile fileTree(dir: 'libs', include: ['*.jar'])
|
|
|
|
testCompile 'junit:junit:4.12'
|
2016-05-05 17:42:29 +02:00
|
|
|
|
|
|
|
// Android standard libs
|
2016-07-31 15:16:22 +02:00
|
|
|
compile 'com.android.support:appcompat-v7:24.1.1'
|
|
|
|
compile 'com.android.support:design:24.1.1'
|
|
|
|
compile 'com.android.support:support-v4:24.1.1'
|
2016-05-05 17:42:29 +02:00
|
|
|
|
|
|
|
// More libraries
|
2016-06-02 13:58:09 +02:00
|
|
|
compile 'com.jakewharton:butterknife:8.0.1'
|
2016-06-09 01:03:50 +02:00
|
|
|
compile 'info.guardianproject.netcipher:netcipher:1.2.1'
|
2016-06-02 13:58:09 +02:00
|
|
|
apt 'com.jakewharton:butterknife-compiler:8.0.1'
|
|
|
|
|
2016-03-03 17:46:31 +01:00
|
|
|
}
|