0
0
mirror of https://github.com/ankidroid/Anki-Android.git synced 2024-09-20 12:02:16 +02:00
Anki-Android/AnkiDroid/build.gradle

49 lines
1.5 KiB
Groovy
Raw Normal View History

apply plugin: 'com.android.application'
def homePath = System.properties['user.home']
android {
2015-09-08 19:55:47 +02:00
compileSdkVersion 23
buildToolsVersion "23.0.1"
defaultConfig {
applicationId "com.ichi2.anki"
2015-03-27 01:36:33 +01:00
minSdkVersion 8
//TODO: Update targetSdkVersion to v23 when Android issue 183547 is fixed or we switch to MaterialDrawer library
targetSdkVersion 22
2014-11-10 13:10:07 +01:00
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
2015-04-01 18:37:59 +02:00
disable 'TypographyEllipsis'
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.android.support:appcompat-v7:23.0.1'
compile 'com.android.support:design:22.2.1'
compile('com.afollestad.material-dialogs:core:0.8.1.0@aar') {
transitive = true
}
compile 'net.i2p.android.ext:floatingactionbutton:1.10.0'
compile 'ch.acra:acra:4.6.2'
2015-01-23 05:00:33 +01:00
compile 'com.jakewharton.timber:timber:2.5.1'
compile 'com.google.code.gson:gson:2.3'
compile "cz.msebera.android:httpclient:4.4.1.1"
compile project(":api")
}