1. Danno Ferrin
  2. javafx-gradle
  3. Issues
Issue #15 resolved

Impossible to use with 'application' plugin

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: "http://dl.bintray.com/content/shemnon/javafx-gradle/0.3.0/javafx.plugin"

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