mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 12:23:58 +01:00
49 lines
No EOL
1.7 KiB
Groovy
49 lines
No EOL
1.7 KiB
Groovy
apply plugin: 'com.android.application'
|
|
apply from: 'quality.gradle'
|
|
|
|
dependencies {
|
|
compile 'com.github.nicolas-raoul:Quadtree:ac16ea8035bf07'
|
|
compile 'fr.avianey.com.viewpagerindicator:library:2.4.1.1@aar'
|
|
compile 'in.yuvi:http.fluent:1.3'
|
|
compile 'com.android.volley:volley:1.0.0'
|
|
compile 'com.nostra13.universalimageloader:universal-image-loader:1.8.4'
|
|
compile 'ch.acra:acra:4.7.0'
|
|
compile 'org.mediawiki:api:1.3'
|
|
compile 'commons-codec:commons-codec:1.10'
|
|
compile "com.android.support:support-v4:${project.supportLibVersion}"
|
|
compile "com.android.support:appcompat-v7:${project.supportLibVersion}"
|
|
compile "com.android.support:design:${project.supportLibVersion}"
|
|
compile 'com.google.code.gson:gson:2.7'
|
|
compile "com.jakewharton:butterknife:$BUTTERKNIFE_VERSION"
|
|
annotationProcessor "com.jakewharton:butterknife-compiler:$BUTTERKNIFE_VERSION"
|
|
|
|
testCompile 'junit:junit:4.12'
|
|
}
|
|
|
|
android {
|
|
compileSdkVersion project.compileSdkVersion
|
|
buildToolsVersion project.buildToolsVersion
|
|
|
|
useLibrary 'org.apache.http.legacy'
|
|
|
|
defaultConfig {
|
|
applicationId 'fr.free.nrw.commons'
|
|
versionCode 68
|
|
versionName '2.21'
|
|
minSdkVersion project.minSdkVersion
|
|
targetSdkVersion project.targetSdkVersion
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false // See https://stackoverflow.com/questions/40232404/google-play-apk-and-android-studio-apk-usb-debug-behaving-differently - proguard.cfg modification alone insufficient.
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
|
|
}
|
|
}
|
|
|
|
lintOptions {
|
|
disable 'MissingTranslation'
|
|
disable 'ExtraTranslation'
|
|
abortOnError false
|
|
}
|
|
} |