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-10-07 18:42:40 +09:00

55 lines
1.8 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 10
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'
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.android.support:appcompat-v7:23.0.1'
// Note: the design support library can be quite buggy, so test everything thoroughly before updating it
compile 'com.android.support:design:23.0.1'
// TODO: this is a commit in-between 0.8.2 and the next release. We should update to official version when available
compile('com.afollestad.material-dialogs:core:cedc34bdce@aar') {
transitive = true
}
compile('com.mikepenz:materialdrawer:4.3.2@aar') {
transitive = true
}
compile 'com.mikepenz:iconics-core:1.7.6@aar'
compile 'com.mikepenz:google-material-typeface:1.2.0.1@aar'
compile 'net.i2p.android.ext:floatingactionbutton:1.10.0'
compile 'ch.acra:acra:4.7.0-RC.1'
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")
}