Ensure the latest paparazzi version is used, when updated by Dependabot.
Dependabot can update the plugin version, but not the library we add manually.
This commit is contained in:
parent
237c18cf5a
commit
e875d9d329
|
@ -33,7 +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.1.0'
|
classpath libs.squareup.paparazziPlugin
|
||||||
// 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
|
||||||
}
|
}
|
||||||
|
@ -322,7 +322,7 @@ ext.initScreenshotTests = { project ->
|
||||||
if (hasScreenshots) {
|
if (hasScreenshots) {
|
||||||
project.apply plugin: 'app.cash.paparazzi'
|
project.apply plugin: 'app.cash.paparazzi'
|
||||||
}
|
}
|
||||||
project.dependencies { testCompileOnly "app.cash.paparazzi:paparazzi:1.0.0" }
|
project.dependencies { testCompileOnly libs.squareup.paparazzi }
|
||||||
project.android.testOptions.unitTests.all {
|
project.android.testOptions.unitTests.all {
|
||||||
def screenshotTestCapture = "**/*ScreenshotTest*"
|
def screenshotTestCapture = "**/*ScreenshotTest*"
|
||||||
if (hasScreenshots) {
|
if (hasScreenshots) {
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
ext.versions = [
|
ext.versions = [
|
||||||
|
|
||||||
'minSdk' : 21,
|
'minSdk' : 21,
|
||||||
'compileSdk' : 32,
|
'compileSdk' : 32,
|
||||||
'targetSdk' : 32,
|
'targetSdk' : 32,
|
||||||
|
@ -27,22 +26,20 @@ def jjwt = "0.11.5"
|
||||||
// Temporary version to unblock #6929. Once 0.16.0 is released we should use it, and revert
|
// Temporary version to unblock #6929. Once 0.16.0 is released we should use it, and revert
|
||||||
// the whole commit which set version 0.16.0-SNAPSHOT
|
// the whole commit which set version 0.16.0-SNAPSHOT
|
||||||
def vanniktechEmoji = "0.16.0-SNAPSHOT"
|
def vanniktechEmoji = "0.16.0-SNAPSHOT"
|
||||||
|
|
||||||
def sentry = "6.4.3"
|
def sentry = "6.4.3"
|
||||||
|
|
||||||
def fragment = "1.5.3"
|
def fragment = "1.5.3"
|
||||||
|
|
||||||
// Testing
|
// Testing
|
||||||
def mockk = "1.12.3" // We need to use 1.12.3 to have mocking in androidTest until a new version is released: https://github.com/mockk/mockk/issues/819
|
def mockk = "1.12.3" // We need to use 1.12.3 to have mocking in androidTest until a new version is released: https://github.com/mockk/mockk/issues/819
|
||||||
def espresso = "3.4.0"
|
def espresso = "3.4.0"
|
||||||
def androidxTest = "1.4.0"
|
def androidxTest = "1.4.0"
|
||||||
def androidxOrchestrator = "1.4.1"
|
def androidxOrchestrator = "1.4.1"
|
||||||
|
def paparazzi = "1.1.0"
|
||||||
|
|
||||||
ext.libs = [
|
ext.libs = [
|
||||||
gradle : [
|
gradle : [
|
||||||
'gradlePlugin' : "com.android.tools.build:gradle:$gradle",
|
'gradlePlugin' : "com.android.tools.build:gradle:$gradle",
|
||||||
'kotlinPlugin' : "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin",
|
'kotlinPlugin' : "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin",
|
||||||
'hiltPlugin' : "com.google.dagger:hilt-android-gradle-plugin:$dagger"
|
'hiltPlugin' : "com.google.dagger:hilt-android-gradle-plugin:$dagger"
|
||||||
|
|
||||||
],
|
],
|
||||||
jetbrains : [
|
jetbrains : [
|
||||||
'coroutinesCore' : "org.jetbrains.kotlinx:kotlinx-coroutines-core:$kotlinCoroutines",
|
'coroutinesCore' : "org.jetbrains.kotlinx:kotlinx-coroutines-core:$kotlinCoroutines",
|
||||||
|
@ -108,6 +105,8 @@ ext.libs = [
|
||||||
'moshiKt' : "com.squareup.moshi:moshi-kotlin:$moshi",
|
'moshiKt' : "com.squareup.moshi:moshi-kotlin:$moshi",
|
||||||
'moshiKotlin' : "com.squareup.moshi:moshi-kotlin-codegen:$moshi",
|
'moshiKotlin' : "com.squareup.moshi:moshi-kotlin-codegen:$moshi",
|
||||||
'moshiAdapters' : "com.squareup.moshi:moshi-adapters:$moshi",
|
'moshiAdapters' : "com.squareup.moshi:moshi-adapters:$moshi",
|
||||||
|
'paparazzi' : "app.cash.paparazzi:paparazzi:$paparazzi",
|
||||||
|
'paparazziPlugin' : "app.cash.paparazzi:paparazzi-gradle-plugin:$paparazzi",
|
||||||
'retrofit' : "com.squareup.retrofit2:retrofit:$retrofit",
|
'retrofit' : "com.squareup.retrofit2:retrofit:$retrofit",
|
||||||
'retrofitMoshi' : "com.squareup.retrofit2:converter-moshi:$retrofit"
|
'retrofitMoshi' : "com.squareup.retrofit2:converter-moshi:$retrofit"
|
||||||
],
|
],
|
||||||
|
|
Loading…
Reference in New Issue