Anders Metnik
Anders Metnik

Reputation: 6237

Getting a specific Jar with gradle

I'm using this repository to get the driver for my database.

And using this gradle config: compile('net.sf.jt400:jt400:9.5')

I know I can add the specific jar file locally. but is there any way to get gradle to add the jt400-9.5-jt400_jdk8.jar instead of default jt400-9.5.jar?

Upvotes: 0

Views: 187

Answers (1)

Anders Metnik
Anders Metnik

Reputation: 6237

You can use maven classifiers, they are defined after the version, so it'd look like:

compile('net.sf.jt400:jt400:9.5:jt400_jdk8')

Upvotes: 0

Related Questions