0
0
mirror of https://github.com/ankidroid/Anki-Android.git synced 2024-09-20 20:03:05 +02:00
Anki-Android/AnkiDroid/build.gradle
2015-09-09 02:55:47 +09:00

46 lines
1.4 KiB
Groovy

apply plugin: 'com.android.application'
def homePath = System.properties['user.home']
android {
compileSdkVersion 23
buildToolsVersion "23.0.1"
defaultConfig {
applicationId "com.ichi2.anki"
minSdkVersion 8
targetSdkVersion 23
testApplicationId "com.ichi2.anki.tests"
}
signingConfigs {
release {
storeFile file("${homePath}/src/android-keystore")
keyAlias "nrkeystorealias"
storePassword System.getenv("KSTOREPWD")
keyPassword System.getenv("KEYPWD")
}
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
signingConfig signingConfigs.release
}
}
lintOptions {
abortOnError false
disable 'TypographyEllipsis'
}
// TODO: Replace deprecated Apache HTTP library with more modern alternative
// https://github.com/ankidroid/Anki-Android/issues/3626
useLibrary 'org.apache.http.legacy'
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.android.support:design:23.0.1'
compile 'com.afollestad:material-dialogs:0.7.6.0'
compile 'net.i2p.android.ext:floatingactionbutton:1.10.0'
compile 'ch.acra:acra:4.6.2'
compile 'com.jakewharton.timber:timber:2.5.1'
compile 'com.google.code.gson:gson:2.3'
}