gradle-fatjar-plugin | Gradle FatJAR Plugin | Plugin library

 by   musketyr Groovy Version: 0.2 License: No License

kandi X-RAY | gradle-fatjar-plugin Summary

kandi X-RAY | gradle-fatjar-plugin Summary

gradle-fatjar-plugin is a Groovy library typically used in Plugin, Gradle applications. gradle-fatjar-plugin has no bugs, it has no vulnerabilities and it has low support. You can download it from GitHub.

WARNING: This plugin is no longer under active development. Please, migrate to Gradle Shadow Plugin which provides similar functionality. Gradle FatJar Plugin allows you to create JAR file with all dependencies bundled inside. It handles files in META-INF/services directory gracefully by merging them. It also allows you to create slim WAR file which contains only JAR with dependencies. Classes are also bundled into the JAR instead of putting them into WEB-INF/classes. Plugin is hosted on Bintray. You can easily add plugin to your build script using following configuration.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              gradle-fatjar-plugin has a low active ecosystem.
              It has 178 star(s) with 23 fork(s). There are 11 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              gradle-fatjar-plugin has no issues reported. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of gradle-fatjar-plugin is 0.2

            kandi-Quality Quality

              gradle-fatjar-plugin has 0 bugs and 0 code smells.

            kandi-Security Security

              gradle-fatjar-plugin has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              gradle-fatjar-plugin code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              gradle-fatjar-plugin does not have a standard license declared.
              Check the repository for any license declaration and review the terms closely.
              OutlinedDot
              Without a license, all rights are reserved, and you cannot use the library in your applications.

            kandi-Reuse Reuse

              gradle-fatjar-plugin releases are not available. You will need to build from source code and install.
              Installation instructions are not available. Examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of gradle-fatjar-plugin
            Get all kandi verified functions for this library.

            gradle-fatjar-plugin Key Features

            No Key Features are available at this moment for gradle-fatjar-plugin.

            gradle-fatjar-plugin Examples and Code Snippets

            No Code Snippets are available at this moment for gradle-fatjar-plugin.

            Community Discussions

            QUESTION

            How do I create an executable fat jar with Gradle with implementation dependencies
            Asked 2020-May-17 at 01:33

            I've got a simple project in Gradle 4.6 and would like to make an executable jar of it. I've tried shadow, gradle-fatjar-plugin, gradle-one-jar, spring-boot-gradle-plugin plugins but neither of them adds my dependencies declared as implementation (I don't have any compile ones). It works with compile e.g. for gradle-one-jar plugin but I would like to have implementation dependencies.

            Thank you very much!

            ...

            ANSWER

            Answered 2019-Mar-18 at 20:59

            You can use the following code.

            Source https://stackoverflow.com/questions/49278063

            QUESTION

            java 10 gradle project : automatic module not found
            Asked 2019-Jul-31 at 14:15

            I created a java 10 project with intelliJ, using gradle. I copied some stuff into it (some "AppFx" class using the library guava and javaFx, and a personal build.gradle file). I also added a module-info.java file in src/main/java with this content:

            ...

            ANSWER

            Answered 2019-Jul-31 at 14:15

            The issue is Gradle still (as of 4.10-rc-2) doesn't have first-class support for Jigsaw modules. All the tasks will use the classpath, not the modulepath, when executing. This obviously will cause issues when trying to create a modular library/application (with module-info.java).

            If you want to use Jigsaw modules in your project you should read Building Java 9 Modules. Your scenario, as @nullpointer mentions, is best covered by this section of the linked document. The takeaway is to add the following to your build.gradle file:

            Source https://stackoverflow.com/questions/51917106

            QUESTION

            gradle : java tests ran twice
            Asked 2018-Aug-30 at 20:46

            I am making a skeletton of a java project; the gradle build file has an annoying problem : tests are ran twice, one time by the task 'JUnitPlatformTest' and a second time by the task 'test'.

            The first one seems to trigger the second, so I can't disable it, and I would like to keep the second one as there is a little difference between them : the first one is in the console (of intelliJ) and the second uses the integrated intelliJ window.

            here is gradle.build

            ...

            ANSWER

            Answered 2018-Aug-30 at 20:46

            According to this official website, ...

            The JUnit Platform Gradle Plugin is deprecated

            The very basic junit-platform-gradle-plugin developed by the JUnit team was deprecated in JUnit Platform 1.2 and will be discontinued in 1.3. Please switch to Gradle’s standard test task.

            So you should remove this plugin from your build file and, if necessary, try to port the remaining settings to the test task of the java plugin.

            Source https://stackoverflow.com/questions/52102536

            QUESTION

            Gradle build with fatJar plugin and SpringBoot application gives 'Application startup failed'
            Asked 2017-Oct-04 at 06:26

            Everything was working fine when starting my app using Intellij. But when I made fatJar (with gradle plugin: eu.appsatori.fatjar) and execute:

            ...

            ANSWER

            Answered 2017-Oct-04 at 06:26
            gradle clean build
            gradle bootRepackage
            

            Source https://stackoverflow.com/questions/43366015

            QUESTION

            Java - Gradle jar created by FatJar task won't work
            Asked 2017-Sep-14 at 16:07

            I've been looking for a solution for this for 4 days now with no success,

            first doing the normal Gradle build task produced a tiny 7kB jar files which obviously didn't work, then i added the jar configuration for the main class:

            ...

            ANSWER

            Answered 2017-Sep-14 at 16:07

            As per the comments here is what was tried.

            • Making sure a main class is set
            • Making sure the main class has the same full class name as the one defined
            • Checking the manifest is valid
            • Checking the class exists
            • JavaFX may need a plugin

            In the end the last one fixed the issue this was the plugin that fixed the issue.

            This was the last comment in the chain:

            @jrtapsell Well, this's embarrassing but i'v found the problem, i was unaware that JavaFX apps need a special plugin for Gradle, Using the FiberFox Plugin solved my issue, Thanks for your efforts and may you post answers so that i could upvote you if you like

            Source https://stackoverflow.com/questions/46202486

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install gradle-fatjar-plugin

            You can download it from GitHub.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            Install
            Maven
            Gradle
            CLONE
          • HTTPS

            https://github.com/musketyr/gradle-fatjar-plugin.git

          • CLI

            gh repo clone musketyr/gradle-fatjar-plugin

          • sshUrl

            git@github.com:musketyr/gradle-fatjar-plugin.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link