Impossible to use with 'application' plugin

Create issue
Issue #15 resolved
Sergei Malafeev created an issue

I'd like to use task "distZip" from 'application' plugin to create distribution with all dependencies. But build is failed.


apply plugin: 'application'
apply from: ""

javafx {
   mainClass 'javafxapplication.JavaFXApplication'


[bash]$ gradle distZip

The ConfigurationContainer.add() method has been deprecated and is scheduled to be removed in Gradle 2.0. Please use the create() method instead.

FAILURE: Build failed with an exception.


Comments (4)

  1. Sergei Malafeev reporter

    I like 'application' plugin way: zip with folders 'lib' containing all jars and 'bin' folder containing shell and bat scripts. I can configure it to include additional files like README, LICENSE etc.

    But having one fat jar is also OK.

  2. Log in to comment