Here’s an interesting problem.

 

I have a lot of JDK9-specific command line options.

I decided to try to put them into an argsfile.

I then tried to use the @argsfile in a gradle script using something like

 

options.compilerArgs=’@/argsfile’

 

I was getting a ‘javac: invalid flag: @/argsfile’ and couldn’t figure out why.

The answer is that gradle is using an argsfile so I ended up with an argsfile 
within an argsfile.

 

 

 

 

Reply via email to