GithubHelp home page GithubHelp logo

Comments (6)

tonilopezmr avatar tonilopezmr commented on June 6, 2024 1

Hi @lcombs15 thank you for let us know, I'll take a look and fix it. You can use your workaround in the meantime or send a PR with the fix. 🎉

from kotlinsnapshot.

lcombs15 avatar lcombs15 commented on June 6, 2024

Work around

You have two options:

  1. Delete the failing snapshot and re-run tests. Rely on version control.
  2. View the diff and copy/paste it into the snapshot yourself

from kotlinsnapshot.

lcombs15 avatar lcombs15 commented on June 6, 2024

To my knowledge purging snapshots doesn't work either. I had an unused snapshot and it was not removed.

from kotlinsnapshot.

lcombs15 avatar lcombs15 commented on June 6, 2024

I've been looking into this today. The Java properties are not persisting into the task.

In other words, this code isn't doing anything:

                System.setProperty "updateSnapshots", "1"

How else could we alert the plugin it's time to update snapshots? I almost wonder if this is broken by newer versions of gradle

from kotlinsnapshot.

pedrovgs avatar pedrovgs commented on June 6, 2024

Hi @lcombs15 thanks for reporting. It looks like something related to the Gradle version you are using. Could you please paste here which Gradle version are you using. If you could also create a minimum reproducible example project, that'd be great 😃

As @tonilopezmr mentioned he's going to take a look at the fix, I'll assign this issue to him. Thank you both for your help!

from kotlinsnapshot.

lcombs15 avatar lcombs15 commented on June 6, 2024

PR open for this

from kotlinsnapshot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.