|
@@ -212,7 +212,7 @@ android {
|
|
|
|
|
|
android.applicationVariants.all { variant ->
|
|
android.applicationVariants.all { variant ->
|
|
String variantName = variant.name
|
|
String variantName = variant.name
|
|
- String capVariantName = variantName.substring(0, 1).toUpperCase() + variantName.substring(1);
|
|
|
|
|
|
+ String capVariantName = variantName.substring(0, 1).toUpperCase() + variantName.substring(1)
|
|
tasks.register("spotbugs${capVariantName}", SpotBugsTask) {
|
|
tasks.register("spotbugs${capVariantName}", SpotBugsTask) {
|
|
ignoreFailures = false
|
|
ignoreFailures = false
|
|
effort = "max"
|
|
effort = "max"
|
|
@@ -273,7 +273,6 @@ dependencies {
|
|
implementation 'pl.droidsonroids.gif:android-gif-drawable:1.2.15'
|
|
implementation 'pl.droidsonroids.gif:android-gif-drawable:1.2.15'
|
|
implementation 'com.github.tobiaskaminsky:qrcodescanner:0.1.2.2' // 'com.github.blikoon:QRCodeScanner:0.1.2'
|
|
implementation 'com.github.tobiaskaminsky:qrcodescanner:0.1.2.2' // 'com.github.blikoon:QRCodeScanner:0.1.2'
|
|
implementation 'com.google.android:flexbox:1.1.0'
|
|
implementation 'com.google.android:flexbox:1.1.0'
|
|
-
|
|
|
|
implementation 'org.parceler:parceler-api:1.1.12'
|
|
implementation 'org.parceler:parceler-api:1.1.12'
|
|
annotationProcessor 'org.parceler:parceler:1.1.12'
|
|
annotationProcessor 'org.parceler:parceler:1.1.12'
|
|
implementation('com.github.bumptech.glide:glide:3.7.0') {
|
|
implementation('com.github.bumptech.glide:glide:3.7.0') {
|
|
@@ -282,6 +281,19 @@ dependencies {
|
|
implementation 'com.caverock:androidsvg:1.3'
|
|
implementation 'com.caverock:androidsvg:1.3'
|
|
implementation 'androidx.annotation:annotation:1.0.2'
|
|
implementation 'androidx.annotation:annotation:1.0.2'
|
|
implementation 'com.google.code.gson:gson:2.8.5'
|
|
implementation 'com.google.code.gson:gson:2.8.5'
|
|
|
|
+ implementation 'org.jetbrains:annotations:17.0.0'
|
|
|
|
+
|
|
|
|
+ spotbugsPlugins 'com.h3xstream.findsecbugs:findsecbugs-plugin:1.9.0'
|
|
|
|
+ spotbugsPlugins 'com.mebigfatguy.fb-contrib:fb-contrib:7.4.3'
|
|
|
|
+
|
|
|
|
+ implementation 'com.google.dagger:dagger:2.22.1'
|
|
|
|
+ implementation 'com.google.dagger:dagger-android:2.22.1'
|
|
|
|
+ implementation 'com.google.dagger:dagger-android-support:2.22.1'
|
|
|
|
+ annotationProcessor 'com.google.dagger:dagger-compiler:2.22.1'
|
|
|
|
+ annotationProcessor 'com.google.dagger:dagger-android-processor:2.22.1'
|
|
|
|
+
|
|
|
|
+ compileOnly "org.projectlombok:lombok:1.18.6"
|
|
|
|
+ annotationProcessor "org.projectlombok:lombok:1.18.6"
|
|
|
|
|
|
// dependencies for local unit tests
|
|
// dependencies for local unit tests
|
|
testImplementation 'junit:junit:4.12'
|
|
testImplementation 'junit:junit:4.12'
|
|
@@ -302,26 +314,13 @@ dependencies {
|
|
// Espresso core
|
|
// Espresso core
|
|
androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.1'
|
|
androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.1'
|
|
androidTestImplementation 'androidx.test.espresso:espresso-contrib:3.1.1'
|
|
androidTestImplementation 'androidx.test.espresso:espresso-contrib:3.1.1'
|
|
|
|
+ androidTestImplementation 'org.mockito:mockito-core:2.27.0'
|
|
// UIAutomator - for cross-app UI tests, and to grant screen is turned on in Espresso tests
|
|
// UIAutomator - for cross-app UI tests, and to grant screen is turned on in Espresso tests
|
|
// androidTestImplementation 'androidx.test.uiautomator:uiautomator:2.2.0'
|
|
// androidTestImplementation 'androidx.test.uiautomator:uiautomator:2.2.0'
|
|
// fix conflict in dependencies; see http://g.co/androidstudio/app-test-app-conflict for details
|
|
// fix conflict in dependencies; see http://g.co/androidstudio/app-test-app-conflict for details
|
|
//androidTestImplementation "com.android.support:support-annotations:${supportLibraryVersion}"
|
|
//androidTestImplementation "com.android.support:support-annotations:${supportLibraryVersion}"
|
|
- implementation 'org.jetbrains:annotations:17.0.0'
|
|
|
|
-
|
|
|
|
- compileOnly "org.projectlombok:lombok:1.18.6"
|
|
|
|
- annotationProcessor "org.projectlombok:lombok:1.18.6"
|
|
|
|
-
|
|
|
|
androidTestImplementation 'tools.fastlane:screengrab:1.2.0'
|
|
androidTestImplementation 'tools.fastlane:screengrab:1.2.0'
|
|
|
|
|
|
- spotbugsPlugins 'com.h3xstream.findsecbugs:findsecbugs-plugin:1.9.0'
|
|
|
|
- spotbugsPlugins 'com.mebigfatguy.fb-contrib:fb-contrib:7.4.3'
|
|
|
|
-
|
|
|
|
- implementation 'com.google.dagger:dagger:2.22.1'
|
|
|
|
- implementation 'com.google.dagger:dagger-android:2.22.1'
|
|
|
|
- implementation 'com.google.dagger:dagger-android-support:2.22.1'
|
|
|
|
- annotationProcessor 'com.google.dagger:dagger-compiler:2.22.1'
|
|
|
|
- annotationProcessor 'com.google.dagger:dagger-android-processor:2.22.1'
|
|
|
|
-
|
|
|
|
// jacocoAnt "org.jacoco:org.jacoco.ant:${jacocoVersion}"
|
|
// jacocoAnt "org.jacoco:org.jacoco.ant:${jacocoVersion}"
|
|
// jacocoAgent "org.jacoco:org.jacoco.agent:${jacocoVersion}"
|
|
// jacocoAgent "org.jacoco:org.jacoco.agent:${jacocoVersion}"
|
|
// androidJacocoAgent "org.jacoco:org.jacoco.agent:${jacocoVersion}"
|
|
// androidJacocoAgent "org.jacoco:org.jacoco.agent:${jacocoVersion}"
|