forked from github/wulkanowy-mirror
690b730494
* Migration of database operation to greenDAO * Disable crashlitics for debug builds * Remove unused drawable * Fix crash when user have one grade
62 lines
2.1 KiB
Groovy
62 lines
2.1 KiB
Groovy
apply plugin: 'com.android.application'
|
|
apply plugin: 'jacoco-android'
|
|
apply plugin: "io.github.ddimtirov.codacy"
|
|
apply plugin: 'org.greenrobot.greendao'
|
|
|
|
android {
|
|
compileSdkVersion 26
|
|
buildToolsVersion "26.0.1"
|
|
defaultConfig {
|
|
applicationId "io.github.wulkanowy"
|
|
testApplicationId "io.github.tests.wulkanowy"
|
|
minSdkVersion 14
|
|
targetSdkVersion 26
|
|
versionCode 1
|
|
versionName "0.1.0"
|
|
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
|
vectorDrawables.useSupportLibrary = true
|
|
}
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
}
|
|
debug {
|
|
testCoverageEnabled = true
|
|
ext.enableCrashlytics = false
|
|
}
|
|
}
|
|
}
|
|
|
|
greendao {
|
|
schemaVersion 10
|
|
generateTests = true
|
|
}
|
|
|
|
dependencies {
|
|
compile fileTree(include: ['*.jar'], dir: 'libs')
|
|
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
|
|
exclude group: 'com.android.support', module: 'support-annotations'
|
|
})
|
|
compile 'com.android.support:appcompat-v7:26.0.1'
|
|
compile 'com.android.support.constraint:constraint-layout:1.0.2'
|
|
compile 'com.android.support:design:26.0.1'
|
|
compile 'com.android.support:support-vector-drawable:26.0.1'
|
|
compile 'com.android.support:support-v4:26.0.1'
|
|
compile 'com.android.support:recyclerview-v7:26.0.1'
|
|
compile 'com.android.support:cardview-v7:26.0.1'
|
|
compile 'com.google.code.gson:gson:2.8.1'
|
|
compile 'com.firebase:firebase-jobdispatcher:0.8.1'
|
|
compile 'com.thoughtbot:expandablerecyclerview:1.3'
|
|
compile 'org.apache.commons:commons-lang3:3.6'
|
|
compile 'org.apache.commons:commons-collections4:4.1'
|
|
compile 'org.jsoup:jsoup:1.10.3'
|
|
compile 'org.greenrobot:greendao:3.2.2'
|
|
|
|
debugCompile 'com.amitshekhar.android:debug-db:1.0.1'
|
|
debugCompile 'net.zetetic:android-database-sqlcipher:3.5.7@aar'
|
|
|
|
testCompile 'junit:junit:4.12'
|
|
testCompile 'org.mockito:mockito-core:2.10.0'
|
|
}
|