|
@@ -3,6 +3,8 @@ apply plugin: 'kotlin-android'
|
|
|
apply plugin: 'kotlin-android-extensions'
|
|
apply plugin: 'kotlin-android-extensions'
|
|
|
apply plugin: 'kotlin-kapt'
|
|
apply plugin: 'kotlin-kapt'
|
|
|
|
|
|
|
|
|
|
+apply from: "$project.rootDir/jacoco.gradle"
|
|
|
|
|
+
|
|
|
android {
|
|
android {
|
|
|
compileSdkVersion rootProject.compileSdkVersion
|
|
compileSdkVersion rootProject.compileSdkVersion
|
|
|
buildToolsVersion "29.0.3"
|
|
buildToolsVersion "29.0.3"
|
|
@@ -18,6 +20,9 @@ android {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
buildTypes {
|
|
buildTypes {
|
|
|
|
|
+ debug {
|
|
|
|
|
+ testCoverageEnabled true
|
|
|
|
|
+ }
|
|
|
release {
|
|
release {
|
|
|
minifyEnabled false
|
|
minifyEnabled false
|
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
@@ -38,26 +43,39 @@ android {
|
|
|
apply from: "$project.rootDir/scripts/deps_versions.gradle"
|
|
apply from: "$project.rootDir/scripts/deps_versions.gradle"
|
|
|
|
|
|
|
|
dependencies {
|
|
dependencies {
|
|
|
|
|
+ implementation fileTree(dir: "libs", include: ["*.jar"])
|
|
|
|
|
+ implementation kotlinStdlib
|
|
|
|
|
+
|
|
|
api project(':core_api')
|
|
api project(':core_api')
|
|
|
implementation project(':core')
|
|
implementation project(':core')
|
|
|
|
|
+ implementation project(':utils')
|
|
|
|
|
+ //DAGGER
|
|
|
implementation dagger
|
|
implementation dagger
|
|
|
- implementation 'androidx.legacy:legacy-support-v4:1.0.0'
|
|
|
|
|
kapt daggerCompiler
|
|
kapt daggerCompiler
|
|
|
- implementation project(':utils')
|
|
|
|
|
implementation constraintlayout
|
|
implementation constraintlayout
|
|
|
|
|
+ //Timber
|
|
|
implementation timber
|
|
implementation timber
|
|
|
implementation navigationFragment
|
|
implementation navigationFragment
|
|
|
implementation retrofit
|
|
implementation retrofit
|
|
|
|
|
+ //AndroidX
|
|
|
|
|
+ implementation legacySupport
|
|
|
|
|
+ implementation appCompat
|
|
|
|
|
+ implementation androidxCore
|
|
|
implementation cardview
|
|
implementation cardview
|
|
|
implementation recyclerview
|
|
implementation recyclerview
|
|
|
implementation material
|
|
implementation material
|
|
|
-
|
|
|
|
|
- implementation fileTree(dir: "libs", include: ["*.jar"])
|
|
|
|
|
- implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
|
|
|
|
|
- implementation 'androidx.core:core-ktx:1.3.1'
|
|
|
|
|
- implementation 'androidx.appcompat:appcompat:1.2.0'
|
|
|
|
|
- testImplementation 'junit:junit:4.12'
|
|
|
|
|
- androidTestImplementation 'androidx.test.ext:junit:1.1.2'
|
|
|
|
|
- androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
|
|
|
|
|
|
|
+ //Unit test
|
|
|
|
|
+ testImplementation junit
|
|
|
|
|
+ testImplementation mockitoCore
|
|
|
|
|
+ testImplementation kotlinxCoroutinesTest
|
|
|
|
|
+ testImplementation robolectric
|
|
|
|
|
+ testImplementation androidXCoreTest
|
|
|
|
|
+ //Instrumental Test
|
|
|
|
|
+ androidTestImplementation junitInstrumental
|
|
|
|
|
+ androidTestImplementation androidXRulesTest
|
|
|
|
|
+ androidTestImplementation androidXRunnerTest
|
|
|
|
|
+ androidTestImplementation espressoCore
|
|
|
|
|
+ androidTestImplementation androidXFragmentTest
|
|
|
|
|
+ kaptAndroidTest daggerCompiler
|
|
|
|
|
|
|
|
}
|
|
}
|