adding paparazzi screenshot testing lib setup
This commit is contained in:
parent
2c1eef7a59
commit
c66a38057e
|
@ -33,6 +33,7 @@ buildscript {
|
||||||
classpath "org.jetbrains.dokka:dokka-gradle-plugin:1.7.10"
|
classpath "org.jetbrains.dokka:dokka-gradle-plugin:1.7.10"
|
||||||
classpath "org.jetbrains.kotlinx:kotlinx-knit:0.4.0"
|
classpath "org.jetbrains.kotlinx:kotlinx-knit:0.4.0"
|
||||||
classpath 'com.jakewharton:butterknife-gradle-plugin:10.2.3'
|
classpath 'com.jakewharton:butterknife-gradle-plugin:10.2.3'
|
||||||
|
classpath 'app.cash.paparazzi:paparazzi-gradle-plugin:1.0.0'
|
||||||
// NOTE: Do not place your application dependencies here; they belong
|
// NOTE: Do not place your application dependencies here; they belong
|
||||||
// in the individual module build.gradle files
|
// in the individual module build.gradle files
|
||||||
}
|
}
|
||||||
|
|
|
@ -49,6 +49,7 @@ ext.groups = [
|
||||||
regex: [
|
regex: [
|
||||||
],
|
],
|
||||||
group: [
|
group: [
|
||||||
|
'app.cash.paparazzi',
|
||||||
'ch.qos.logback',
|
'ch.qos.logback',
|
||||||
'com.adevinta.android',
|
'com.adevinta.android',
|
||||||
'com.airbnb.android',
|
'com.airbnb.android',
|
||||||
|
@ -150,11 +151,14 @@ ext.groups = [
|
||||||
'it.unimi.dsi',
|
'it.unimi.dsi',
|
||||||
'jakarta.activation',
|
'jakarta.activation',
|
||||||
'jakarta.xml.bind',
|
'jakarta.xml.bind',
|
||||||
|
'javax.activation',
|
||||||
'javax.annotation',
|
'javax.annotation',
|
||||||
'javax.inject',
|
'javax.inject',
|
||||||
|
'javax.xml.bind',
|
||||||
'jline',
|
'jline',
|
||||||
'jp.wasabeef',
|
'jp.wasabeef',
|
||||||
'junit',
|
'junit',
|
||||||
|
'kxml2',
|
||||||
'me.saket',
|
'me.saket',
|
||||||
'net.bytebuddy',
|
'net.bytebuddy',
|
||||||
'net.java',
|
'net.java',
|
||||||
|
@ -183,11 +187,13 @@ ext.groups = [
|
||||||
'org.hamcrest',
|
'org.hamcrest',
|
||||||
'org.jacoco',
|
'org.jacoco',
|
||||||
'org.java-websocket',
|
'org.java-websocket',
|
||||||
|
'org.jcodec',
|
||||||
'org.jetbrains',
|
'org.jetbrains',
|
||||||
'org.jetbrains.dokka',
|
'org.jetbrains.dokka',
|
||||||
'org.jetbrains.intellij.deps',
|
'org.jetbrains.intellij.deps',
|
||||||
'org.jetbrains.kotlin',
|
'org.jetbrains.kotlin',
|
||||||
'org.jetbrains.kotlinx',
|
'org.jetbrains.kotlinx',
|
||||||
|
'org.jetbrains.trove4j',
|
||||||
'org.json',
|
'org.json',
|
||||||
'org.jsoup',
|
'org.jsoup',
|
||||||
'org.junit',
|
'org.junit',
|
||||||
|
|
|
@ -17,6 +17,7 @@ org.gradle.caching=true
|
||||||
# Android Settings
|
# Android Settings
|
||||||
android.enableJetifier=true
|
android.enableJetifier=true
|
||||||
android.useAndroidX=true
|
android.useAndroidX=true
|
||||||
|
android.jetifier.ignorelist=android-base-common,common
|
||||||
|
|
||||||
#Project Settings
|
#Project Settings
|
||||||
# Change debugPrivateData to true for debugging
|
# Change debugPrivateData to true for debugging
|
||||||
|
|
|
@ -3,6 +3,7 @@ apply plugin: 'kotlin-android'
|
||||||
apply plugin: 'kotlin-parcelize'
|
apply plugin: 'kotlin-parcelize'
|
||||||
apply plugin: 'kotlin-kapt'
|
apply plugin: 'kotlin-kapt'
|
||||||
apply plugin: 'dagger.hilt.android.plugin'
|
apply plugin: 'dagger.hilt.android.plugin'
|
||||||
|
apply plugin: 'app.cash.paparazzi'
|
||||||
|
|
||||||
if (project.hasProperty("coverage")) {
|
if (project.hasProperty("coverage")) {
|
||||||
apply plugin: 'jacoco'
|
apply plugin: 'jacoco'
|
||||||
|
|
Loading…
Reference in New Issue