Giter Club home page Giter Club logo

Comments (7)

joswhite avatar joswhite commented on July 2, 2024 1

What's the status on this? I've noticed that clutz builds have been failing on CircleCI for about 6 months. Looks like the most recent successful build is https://circleci.com/gh/angular/clutz/563. I'd like to use clutz to convert a Closure project to more modern web frameworks, but I'm not sure whether to use the latest successful build from 6 months ago or to try to get a build working from master.

from clutz.

mprobst avatar mprobst commented on July 2, 2024

Internal issue created: b/148431526

from clutz.

shicks avatar shicks commented on July 2, 2024

@mprobst Is this something we can reproduce at all?

from clutz.

mprobst avatar mprobst commented on July 2, 2024

Yes, I can reproduce. I think the problem is as kwiva writes that the Guava version referenced in build.gradle does not match what we're using internally. 28.2 should actually include the missing splitToStream method though:

https://github.com/google/guava/blame/master/guava/src/com/google/common/base/Splitter.java

from clutz.

evmar avatar evmar commented on July 2, 2024

kwiva, can you talk more about how you use Clutz? One option we're considering is archiving the project completely because it's difficult for us to publish and we don't think there are many users.

from clutz.

jonrimmer avatar jonrimmer commented on July 2, 2024

The problem is you are depending on https://search.maven.org/artifact/com.google.javascript/closure-compiler which is a "shaded" JAR, where all the dependencies (e.g. Guava) are re-packaged inside it. The shading is supposed to rename the deps to prevent conflicts, but it seems this hasn't been configured properly for closure-compiler, so the upshot is that its outdated version of Guava (25.1-jre) is on the classpath no matter what, and Gradle can't override it.

The solution is replace your closure-compiler dependency with the unshaded version, e.g. com.google.javascript:closure-compiler-unshaded:v20200517, then force the Guava version in build.gradle:

compile ('com.google.guava:guava:28.2-jre') {
  force = true
}

😫 Debugging nonsense like this reminds me why I gave up Java development.

from clutz.

evmar avatar evmar commented on July 2, 2024

As I commented a bit upthread we (the Clutz maintainers) are not great at these kinds of issues and have discussed archiving the project. If you use Clutz, could you comment on #1006 ?

from clutz.

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.