This is not exactly an answer to my original question, but ultimately what I was looking at the plugin for was a way to make an exe installer with gradle. In the end I stuck with the normal gradle stuff and used this in my build.gradle. Maybe this will save some one else a half day with google.
// create a single Jar with all dependencies
task fatJar(type: Jar) {
doFirst {
from { configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } }
}
exclude 'META-INF/*.RSA', 'META-INF/*.SF','META-INF/*.DSA'
manifest {
attributes 'Implementation-Title': appName,
'Implementation-Version': version,
'Main-Class': mainClassName
}
baseName = project.name
from { configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } }
with jar
}
// create a windows .exe installer
task buildPackage << {
if (jdk != null && !jdk.isEmpty()) {
def javapackager = exec {
workingDir "${project.projectDir.absolutePath}"
commandLine "${jdk}\\bin\\javapackager",
"-deploy",
"-title", appName,
"-native", "exe",
"-name", appName,
"-outdir", "${buildDir.name}${File.separator}dist",
"-outfile", appName,
"-srcdir", "${buildDir.name}${File.separator}libs",
"-appclass", mainClassName
}
}
}