Code Monkey home page Code Monkey logo

badass-jar-plugin's People

Contributors

siordache avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

badass-jar-plugin's Issues

Provide an option to use the built-in modules support in Gradle 6.4 and later

The README says:

If the plugin detects that at least one of sourceCompatibility and targetCompatibility has an effective value >= 9, it automatically applies the gradle-modules-plugin, which adds support for the JPMS.

Is it possible to add an option to not apply the gradle-modules-plugin, when using Gradle 6.4 or later? That would possibly make this plugin even lighter-weight and hopefully reduce plugin interaction/compatibility issues in the future.

Interested in collaborating with ModiTect?

Hey,

I just learned from @aalmiray about this plug-in and your blog post at https://beryx.org/blog/2018-11-21-/modular-jars-targeted-at-pre-java-9/. Thanks a lot for the reference to ModiTect! Having a Gradle plug-in for ModiTect has been on the wishlist for a while, and @aalmiray was just recently expressing interest towards contributing to such effort. Seeing your plug-in here, we were wondering whether you'd perhaps be interested in creating a joint effort under the ModiTect umbrella?

Cheers,

Gunnar

Set module version

Does this plugin support setting module version information, like jar --create --file ... --module-version X?

PS: Installing and applying this plugin here: jqwik-team/jqwik#243

Document tradeoffs between approaches (especially as to how it affects your IDE)

Using the badass-jar-plugin, there are two paths you can go by:

  1. Have the "default view" of the project be a Java 9+, modular world and in a full/release build use a command-line flag to tell the plugin to create JDK 8 versions of the target JARs (i.e. src/main/java/module-info.java)

  2. Have the "default view" of the project be Java 8, non-modular and use the plugin to add module-info to the target JARs. (i.e. src/main/module/module-info.java)

The advantage to (1) is that your IDE can validate your module-info as you develop (this can be especially important in multi-project builds.) The advantage to (2) is that your IDE can validate your use of the Java API as you develop.

Personally, I'm just beginning to experiment with and understand these trade-offs and I only use IDEA on a regular basis, so even as I do learn more I'll only understand how it works in one IDE.

It would be nice if there was a place to document some of these issues -- not sure if the README is the right place.

Release 2.0.0?

2.0.0-rc-5 has been working well for me and no-one else has reported an issue since November 2021. Is it time to make a final release?

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.