question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Snapshot missing app.cash.paparazzi:paparazzi:1.0.0-SNAPSHOT

See original GitHub issue

Trying the snapshot version from here: https://oss.sonatype.org/content/repositories/snapshots/app/cash/paparazzi/ but it doesn’t full the app.cash.paparazzi:paparazzi:1.0.0-SNAPSHOT dependency and it doesn’t resolve the paparazzi plugin classes.

Is this expected behavior? My setup looks like the below:

root

  • build.gradle
  • module_1
    • build.gradle

root build.gradle looks like this:

buildscript {
    ext {
        compose_version = '1.1.1'
    }
    repositories {
        maven {
            url 'https://oss.sonatype.org/content/repositories/snapshots/'
        }
    }
    dependencies {
        classpath "app.cash.paparazzi:paparazzi-gradle-plugin:1.0.0-SNAPSHOT"
    }
}
// Top-level build file where you can add configuration options common to all sub-projects/modules.
plugins {
    id 'com.android.application' version '7.1.2' apply false
    id 'com.android.library' version '7.1.2' apply false
    id 'org.jetbrains.kotlin.android' version '1.6.10' apply false
}

....
....

module_1 build.gradle

plugins {
    id 'com.android.library'
    id 'org.jetbrains.kotlin.android'
    id 'app.cash.paparazzi'
}
....
....

Error:

Failed to resolve: app.cash.paparazzi:paparazzi:1.0.0-SNAPSHOT Show in Project Structure dialog Affected Modules: coreui

image

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
saurabhkpatelcommented, Apr 6, 2022

Wow, too many places to put repositories !! 😃 thanks for your help

0reactions
jrodbxcommented, Apr 4, 2022

Closing as this is a Gradle configuration issue and a working solution has been proposed.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Failure using compose with 1.0.0-SNAPSHOT · Issue #409
Failure using compose with 1.0.0-SNAPSHOT #409 ... setAccessible(Field.java:172) at app.cash.paparazzi.Paparazzi ... I see this issue as well but on 1.0.0 .
Read more >
Snapshot - Paparazzi - Cash App Code Blog
Android screenshots without Android.
Read more >
Paparazzi 1.0 is out : r/androiddev - Reddit
We use it for snapshot testing: Write a basic test to put the view in the state you want to snapshot. Run recordPaparazziDebug...
Read more >
Snapshot testing (and more!) with Paparazzi - Droidcon
Come find out how we're improving the UI testing loop on Cash App with Paparazzi -- an Android testing library to render your...
Read more >
Keeping your Pixels Perfect: Paparazzi 1.0 - Speaker Deck
Snapshot tests get you closer but also rely on instrumentation tests. Come find out how we're improving the UI testing loop on Cash...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found