TheBoegl / gradle-launch4j

A gradle-plugin to create windows executables with launch4j
Apache License 2.0
305 stars 42 forks source link

Directory of the icon file #43

Closed Tosken1337 closed 7 years ago

Tosken1337 commented 7 years ago

I have the problem that the createExe task cannot find the icon.ico file specified.

launch4j {
    outputDir = "release"
    outfile = "App.exe"
    mainClassName = "com.something.AppStarter"
    opt = "-Djogamp.gluegen.UseTempJarCache=false"
    jreRuntimeBits = "32"
    libraryDir = "libs"
    icon = "icon.ico"
}

Commenting out the line works and it will create the exe under the folder ./build/release. Placing the icon.ico in build or in the root doesn't work.

Tosken1337 commented 7 years ago

Please delete question. Found out. My goofiness...

TheBoegl commented 7 years ago

This seems to be documented incorrectly.