war plugin already creates providedCompile configuration

Issue #31 new
Neil Galarneau
created an issue

I want to use the javafx-gradle plugin to produce jars for an applet & then start a webserver with the jetty plugin to serve the applet (sort of like a 'run' task for the applet).

When trying to use both plugins I get the following exception: Caused by: org.gradle.api.InvalidUserDataException: Cannot add a configuration with name 'providedCompile' as a configuration with that name already exists. at org.gradle.api.internal.DefaultNamedDomainObjectCollection.assertCanAdd(DefaultNamedDomainObjectCollection.java:95) at org.gradle.api.internal.AbstractNamedDomainObjectContainer.create(AbstractNamedDomainObjectContainer.java:56) at org.gradle.api.internal.AbstractNamedDomainObjectContainer.create(AbstractNamedDomainObjectContainer.java:40) at org.gradle.api.NamedDomainObjectContainer$create.call(Unknown Source) at org.bitbucket.shemnon.javafxplugin.JavaFXPlugin.configureConfigurations(JavaFXPlugin.groovy:386) at org.bitbucket.shemnon.javafxplugin.JavaFXPlugin$configureConfigurations.callCurrent(Unknown Source) at org.bitbucket.shemnon.javafxplugin.JavaFXPlugin.apply(JavaFXPlugin.groovy:112)

Comments (0)

  1. Log in to comment