Impossible to use with 'application' plugin

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.

build.gradle:

apply plugin: 'application'
apply from: "http://dl.bintray.com/content/shemnon/javafx-gradle/0.3.0/javafx.plugin"

javafx {
   mainClass 'javafxapplication.JavaFXApplication'
}

Output:

[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.

BUILD FAILED

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