Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[RFC] Implemented JAR minimization #273

Closed
wants to merge 1 commit into from

Commits on Feb 5, 2017

  1. Implemented JAR minimization

    This commit adds two new configuration options to the 'shadowJar' task.
    When 'minimizeJar' is set the shadow JAR would only include the classes
    for the project the task operates on and its dependencies. The user can
    protect other classes from minimization by specifying them as entry
    points.
    
    Here's an example configuration
    
        shadowJar {
            minimizeJar = true
            entryPoint 'foo.Foo'
            entryPoint 'foo.Bar'
        }
    
    N.B. imported but unused classes are not considered as dependencies.
    superbobry committed Feb 5, 2017
    Configuration menu
    Copy the full SHA
    8c7c1af View commit details
    Browse the repository at this point in the history