Giter VIP home page Giter VIP logo

Comments (8)

GraxCode avatar GraxCode commented on June 1, 2024

Actually, gradle puts all of the license files inside the jar file without any problems, as duplicate zip entries are allowed (not in java though). But you are right, it would be nice to know from which library they come from. I really don't like the idea of making threadtear an application as in my opinion a standalone .jar file is much more compact than a folder with bin, lib, etc.

from threadtear.

weisJ avatar weisJ commented on June 1, 2024

Actually, gradle puts all of the license files inside the jar file without any problems, as duplicate zip entries are allowed (not in java though).

I don’t see this reflected in the resulting fat jar. There are still licenses that are missing.

from threadtear.

GraxCode avatar GraxCode commented on June 1, 2024

Screenshot_24
(using WinRAR)
What tool are you using?

from threadtear.

weisJ avatar weisJ commented on June 1, 2024

I was using the archive view in IntelliJ, which apparently doesn’t show duplicate files. I still think it would be nice to remove the ambiguity between the licenses. One shouldn’t be forced to use a certain program to view them.

from threadtear.

GraxCode avatar GraxCode commented on June 1, 2024

Of course, that's what i also think. Will probably use shadow to handle that.

from threadtear.

weisJ avatar weisJ commented on June 1, 2024

With #26 I have implemented merging of unique licenses with the same name into one file. I think for now this is the best one can do with the shadow plugin, as neither the relocators nor the transformers get information about the original dependency a file comes from.

from threadtear.

GraxCode avatar GraxCode commented on June 1, 2024

Should this be closed?

from threadtear.

weisJ avatar weisJ commented on June 1, 2024

Can be closed. If the shadow plugin ever gets updated to include dependency information for files the current approach can be improved.

from threadtear.

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.