I’m migrating a build system from Ant to Gradle. It uses JavaFX 2.0 (so the Gradle JavaFX 1.0 plugin is irrelevant), which has some special requirements for jar building. It includes these bits:
<project xmlns:fx="javafx.com.sun.javafx.tools.ant"> <taskdef resource="com/sun/javafx/tools/ant/antlib.xml" uri="javafx:com.sun.javafx.tools.ant"/> <fx:jar destfile="foo.jar"/> </project>
How do I reference the Ant fx:jar task from Gradle?