2018-01-11 14:57:41 -06:00
|
|
|
buildscript {
|
|
|
|
repositories {
|
|
|
|
maven { url "https://plugins.gradle.org/m2/" }
|
|
|
|
maven { url 'https://maven.fabric.io/public' }
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
classpath 'org.greenrobot:greendao-gradle-plugin:3.2.2'
|
|
|
|
classpath 'io.fabric.tools:gradle:1.25.1'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
repositories {
|
|
|
|
maven { url 'https://maven.fabric.io/public' }
|
|
|
|
}
|
|
|
|
|
2017-03-09 14:29:23 -06:00
|
|
|
apply plugin: 'com.android.application'
|
2017-09-17 11:04:28 -05:00
|
|
|
apply plugin: 'org.greenrobot.greendao'
|
2018-01-11 14:57:41 -06:00
|
|
|
apply plugin: 'io.fabric'
|
2017-11-26 09:32:33 -06:00
|
|
|
apply from: '../jacoco.gradle'
|
|
|
|
apply from: '../android-sonarqube.gradle'
|
2017-03-09 14:29:23 -06:00
|
|
|
|
|
|
|
android {
|
2017-10-27 10:05:00 -05:00
|
|
|
compileSdkVersion 27
|
2017-12-27 14:49:09 -06:00
|
|
|
buildToolsVersion "27.0.3"
|
2017-03-09 14:29:23 -06:00
|
|
|
defaultConfig {
|
2017-04-19 13:36:27 -05:00
|
|
|
applicationId "io.github.wulkanowy"
|
2017-09-17 11:04:28 -05:00
|
|
|
testApplicationId "io.github.tests.wulkanowy"
|
2017-09-23 15:17:13 -05:00
|
|
|
minSdkVersion 15
|
2017-10-27 10:05:00 -05:00
|
|
|
targetSdkVersion 27
|
2018-03-04 15:07:55 -06:00
|
|
|
versionCode 2
|
|
|
|
versionName "0.1.1"
|
2017-03-09 14:29:23 -06:00
|
|
|
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
2017-06-30 09:02:21 -05:00
|
|
|
vectorDrawables.useSupportLibrary = true
|
2018-01-11 14:57:41 -06:00
|
|
|
manifestPlaceholders = [
|
|
|
|
fabricApiKey: System.getenv("FABRIC_API_KEY") ?: "null"
|
|
|
|
]
|
2017-03-09 14:29:23 -06:00
|
|
|
}
|
2017-12-27 14:49:09 -06:00
|
|
|
|
2017-03-09 14:29:23 -06:00
|
|
|
buildTypes {
|
|
|
|
release {
|
|
|
|
minifyEnabled false
|
|
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
|
|
}
|
2017-07-20 10:37:55 -05:00
|
|
|
debug {
|
2018-03-10 06:08:01 -06:00
|
|
|
applicationIdSuffix ".dev"
|
|
|
|
versionNameSuffix "-dev"
|
2017-07-20 10:37:55 -05:00
|
|
|
testCoverageEnabled = true
|
2017-09-17 11:04:28 -05:00
|
|
|
ext.enableCrashlytics = false
|
2017-07-20 10:37:55 -05:00
|
|
|
}
|
2017-03-09 14:29:23 -06:00
|
|
|
}
|
2017-09-23 15:17:13 -05:00
|
|
|
|
|
|
|
testOptions {
|
|
|
|
unitTests.all {
|
|
|
|
testLogging {
|
|
|
|
events "passed", "skipped", "failed", "standardOut", "standardError"
|
2017-12-11 12:45:28 -06:00
|
|
|
outputs.upToDateWhen { false }
|
2017-09-23 15:17:13 -05:00
|
|
|
showStandardStreams = true
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2017-03-09 14:29:23 -06:00
|
|
|
}
|
|
|
|
|
2017-09-17 11:04:28 -05:00
|
|
|
greendao {
|
2018-03-10 08:55:34 -06:00
|
|
|
schemaVersion 22
|
2017-09-17 11:04:28 -05:00
|
|
|
generateTests = true
|
|
|
|
}
|
|
|
|
|
2017-03-09 14:29:23 -06:00
|
|
|
dependencies {
|
2017-12-11 12:45:28 -06:00
|
|
|
implementation project(':api')
|
2018-03-04 05:49:16 -06:00
|
|
|
implementation 'com.android.support:appcompat-v7:27.1.0'
|
|
|
|
implementation 'com.android.support:design:27.1.0'
|
|
|
|
implementation 'com.android.support:support-v4:27.1.0'
|
|
|
|
implementation 'com.android.support:recyclerview-v7:27.1.0'
|
|
|
|
implementation 'com.android.support:cardview-v7:27.1.0'
|
|
|
|
implementation 'com.android.support:customtabs:27.1.0'
|
2017-12-11 12:45:28 -06:00
|
|
|
implementation 'com.firebase:firebase-jobdispatcher:0.8.5'
|
2018-01-02 15:36:54 -06:00
|
|
|
implementation 'org.apache.commons:commons-lang3:3.7'
|
2018-03-04 05:49:16 -06:00
|
|
|
implementation 'eu.davidea:flexible-adapter:5.0.0-rc4'
|
|
|
|
implementation 'eu.davidea:flexible-adapter-ui:1.0.0-b1'
|
2017-11-18 15:17:18 -06:00
|
|
|
implementation 'org.apache.commons:commons-collections4:4.1'
|
|
|
|
implementation 'org.greenrobot:greendao:3.2.2'
|
2017-12-11 12:45:28 -06:00
|
|
|
implementation 'com.jakewharton:butterknife:8.8.1'
|
|
|
|
implementation 'joda-time:joda-time:2.9.9'
|
2018-01-02 14:55:58 -06:00
|
|
|
implementation 'com.google.dagger:dagger-android:2.14.1'
|
|
|
|
implementation 'com.google.dagger:dagger-android-support:2.14.1'
|
2018-03-04 05:49:16 -06:00
|
|
|
implementation 'com.aurelhubert:ahbottomnavigation:2.1.0'
|
2017-12-11 12:45:28 -06:00
|
|
|
|
2018-01-11 14:57:41 -06:00
|
|
|
implementation('com.crashlytics.sdk.android:crashlytics:2.8.0@aar') {
|
|
|
|
transitive = true
|
|
|
|
}
|
|
|
|
implementation('com.crashlytics.sdk.android:answers:1.4.1@aar') {
|
|
|
|
transitive = true
|
|
|
|
}
|
|
|
|
|
2018-01-02 14:55:58 -06:00
|
|
|
annotationProcessor 'com.google.dagger:dagger-android-processor:2.14.1'
|
2018-03-04 05:49:16 -06:00
|
|
|
annotationProcessor 'com.google.dagger:dagger-compiler:2.14.1'
|
2017-12-11 12:45:28 -06:00
|
|
|
annotationProcessor 'com.jakewharton:butterknife-compiler:8.8.1'
|
2017-09-17 11:04:28 -05:00
|
|
|
|
2017-11-18 15:17:18 -06:00
|
|
|
debugImplementation 'com.amitshekhar.android:debug-db:1.0.1'
|
2018-01-02 14:55:58 -06:00
|
|
|
debugImplementation 'net.zetetic:android-database-sqlcipher:3.5.9'
|
2017-09-23 15:17:13 -05:00
|
|
|
|
2017-11-18 15:17:18 -06:00
|
|
|
testImplementation 'junit:junit:4.12'
|
2018-01-02 15:36:54 -06:00
|
|
|
testImplementation 'org.mockito:mockito-core:2.13.0'
|
2017-11-18 15:17:18 -06:00
|
|
|
|
|
|
|
androidTestImplementation 'com.android.support.test:runner:1.0.1'
|
2018-01-02 15:36:54 -06:00
|
|
|
androidTestImplementation 'org.mockito:mockito-android:2.13.0'
|
2017-03-09 14:29:23 -06:00
|
|
|
}
|