excelsior-oss / excelsior-jet-gradle-plugin

Excelsior JET Gradle Plugin provides Gradle users with an easy way to compile their applications down to optimized native Windows, OS X, or Linux executables with Excelsior JET http://www.excelsiorjet.com
GNU General Public License v3.0
26 stars 6 forks source link

Plugin ignoring "jetHome" option #31

Closed sirsavary closed 7 years ago

sirsavary commented 7 years ago

I currently have the plugin set up and working but unfortunately, it is completely ignoring the jetHome option and I have had to resort to passing -Djet.home on the CLI which is less than ideal. I dug through the source a bit but was unable to find out why it wasn't working.

The path provided on the commandline and to the jetHome property was exactly the same, so I'm not sure why it wasn't working. Not sure if it was being ignored entirely or what.

Here is the relevant part of the gradle configuration:

excelsiorJet {
    mainClass = "com.virii.gameseer.supervisor.EntryKt"

    globalOptimizer = true
    packaging = "native-bundle"

    jetHome = "C:\\Users\\Jesse\\Development\\Tools\\excelsiorjet\\12-x86"
}

and the command flag that works:

-Djet.home="C:\Users\Jesse\Development\Tools\excelsiorjet\12-x86"
pjBooms commented 7 years ago

Thank you for the bug report.

It is a bug in the Gradle plugin that will be fixed in the next version.

pjBooms commented 7 years ago

The issue is fixed in 1.1.1 release. So please try and let us know about results.