2014-11-09 18:02:29 +01:00
|
|
|
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"
|
2014-11-09 18:02:29 +01:00
|
|
|
|
|
|
|
defaultConfig {
|
|
|
|
applicationId "com.ichi2.anki"
|
2015-09-27 06:18:52 +02:00
|
|
|
minSdkVersion 10
|
|
|
|
targetSdkVersion 23
|
2014-11-10 13:10:07 +01:00
|
|
|
testApplicationId "com.ichi2.anki.tests"
|
2014-11-09 18:02:29 +01:00
|
|
|
}
|
|
|
|
signingConfigs {
|
|
|
|
release {
|
|
|
|
storeFile file("${homePath}/src/android-keystore")
|
|
|
|
keyAlias "nrkeystorealias"
|
|
|
|
storePassword System.getenv("KSTOREPWD")
|
|
|
|
keyPassword System.getenv("KEYPWD")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
buildTypes {
|
|
|
|
release {
|
2014-12-09 03:11:40 +01:00
|
|
|
minifyEnabled false
|
2014-11-09 18:02:29 +01:00
|
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
|
|
signingConfig signingConfigs.release
|
|
|
|
}
|
|
|
|
}
|
|
|
|
lintOptions {
|
|
|
|
abortOnError false
|
2015-04-01 18:37:59 +02:00
|
|
|
disable 'TypographyEllipsis'
|
2014-11-09 18:02:29 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
compile fileTree(dir: 'libs', include: ['*.jar'])
|
2015-10-16 05:14:56 +02:00
|
|
|
compile 'com.android.support:appcompat-v7:23.1.0'
|
2015-09-27 06:18:52 +02:00
|
|
|
// Note: the design support library can be quite buggy, so test everything thoroughly before updating it
|
2015-10-16 05:14:56 +02:00
|
|
|
compile 'com.android.support:design:23.1.0'
|
|
|
|
compile 'com.android.support:customtabs:23.1.0'
|
|
|
|
compile('com.afollestad.material-dialogs:core:0.8.3.0@aar') {
|
2015-09-25 12:42:59 +02:00
|
|
|
transitive = true
|
|
|
|
}
|
2015-10-16 05:14:56 +02:00
|
|
|
compile('com.mikepenz:materialdrawer:4.3.6@aar') {
|
2015-10-02 19:13:44 +02:00
|
|
|
transitive = true
|
|
|
|
}
|
2015-09-27 06:18:52 +02:00
|
|
|
compile 'com.mikepenz:iconics-core:1.7.6@aar'
|
|
|
|
compile 'com.mikepenz:google-material-typeface:1.2.0.1@aar'
|
2015-08-29 02:35:20 +02:00
|
|
|
compile 'net.i2p.android.ext:floatingactionbutton:1.10.0'
|
2015-10-04 17:47:11 +02:00
|
|
|
compile 'ch.acra:acra:4.7.0-RC.1'
|
2015-10-16 05:14:56 +02:00
|
|
|
compile 'com.jakewharton.timber:timber:2.7.1'
|
|
|
|
compile 'com.google.code.gson:gson:2.4'
|
2015-09-27 07:20:10 +02:00
|
|
|
compile "cz.msebera.android:httpclient:4.4.1.1"
|
2015-09-10 22:08:18 +02:00
|
|
|
compile project(":api")
|
2014-11-09 18:02:29 +01:00
|
|
|
}
|