Using the application plugin for a project, gradle is building a distZip that simply does not run. I get the following message at the command line in windows:
The input line is too long. The syntax of the command is incorrect.
I’ve tracked down the problem with the input line being too long and it appears that the CLASSPATH is the problem. I’m importing a jar intended for use in a web application because I need access to one of its classes for my reporting app. But I don’t need any of the dependencies of that jar… so my question is, is it possible to import a project dependency as a jar-only dependency, in the same way as you can set up a regular dependency, like so?