I can't figure out what to put in gradle to satisfy this dependency:
<dependency>
<groupId>javax.jnlp</groupId>
<artifactId>jnlp-api</artifactId>
<version>8.0</version>
<scope>system</scope>
<systemPath>${java.home}/lib/javaws.jar</systemPath>
</dependency>
You can add a dependency on any file within the local filesystem, as:
dependencies {
compile files("$System.env.JAVA_HOME" + '/lib/javaws.jar')
}
Read about it in the official userguide.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With