Hello,
I have recently migrated to Idea from Netbeans.
When I wanted to distribute my file in the past using netbeans it would create importer.jar and underneath that would be a libs folder that I would distribute with it. In the libs folder would be all the dependencies.
So far in gradle I get a distribution.zip which I can extract then use the OS specific (windows) script to run the jar.
I would prefer to continue to distribute the importer.jar with a separate libs subdirectory. Is this possible in gradle, such that I can just double click the importer.jar file?
My build file is listed below. Cheers
-Al
group 'importer.com’
version ‘1.0-SNAPSHOT’
apply plugin: 'groovy’
apply plugin: 'java’
apply plugin: 'idea’
apply plugin: ‘application’
mainClassName = ‘com.Pdftest2’
sourceCompatibility = 1.7
repositories {
mavenCentral()
}
dependencies {
compile 'org.codehaus.groovy:groovy-all:2.3.11’
testCompile group: ‘junit’, name: ‘junit’, version: '4.11’
compile group: ‘org.apache.pdfbox’, name: ‘pdfbox’, version: '2.0.1’
compile group: ‘joda-time’, name: ‘joda-time’, version: '2.9.4’
compile group: ‘net.sf.ucanaccess’, name: ‘ucanaccess’, version: '3.0.4’
compile group: ‘com.google.maps’, name: ‘google-maps-services’, version: ‘0.1.1’
}