There is a gradle project in java. The project uses the engine jcpt
, it requires to connect several jar nicknames and native library (link)
(windiws - .dll linux .so). If .so for linux even clear how to get (habré found this
article that suggest all files .so to put in a jar archive and add this archive), how to connect .dll for Windows is very strange (to put in the jar also did not work). How can I do that?
build.gradle looks like this:
apply plugin: 'java'
apply plugin: "application"
mainClassName = "EN-us.cfif11.cosmo.Main"
sourceCompatibility = JavaVersion.VERSION_1_7
targetCompatibility = JavaVersion.VERSION_1_7
version = '1.0'
testCompile group: 'junit', name: 'junit', version: '4.11'
P. S. better Yet, automatically detect the system and put the path for linux or windiws automatically