12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- apply plugin: 'java'
- apply plugin: 'groovy'
- apply plugin: 'application'
- apply plugin: 'eclipse'
- apply plugin: 'idea'
- version = '1.2.' + (System.getenv('BUILD_NUMBER') ?: 0)
- sourceCompatibility = 1.7
- targetCompatibility = 1.7
- mainClassName = "org.django.acquabooks.CommandLineLauncher"
- //mainClassName = "org.django.acquabooks.io.Console"
- //Get dependencies from Maven central repository
- repositories {
- mavenCentral()
- maven {
- url "https://oss.sonatype.org/content/groups/public/"
- }
- }
- //Project dependencies
- dependencies {
- compile 'ch.qos.logback:logback-classic:1.1.3'
- compile 'commons-cli:commons-cli:1.3.1'
- compile 'io.searchbox:jest:0.1.6'
- compile 'org.apache.commons:commons-lang3:3.4'
- compile 'org.apache.poi:poi:3.12'
- compile 'commons-beanutils:commons-beanutils:1.9.2'
- //dipendenza utile qualora si voleese dare veste grafia a tutto stle ncurses
- //compile 'com.baulsupp.kolja:jcurses:0.9.5.3'
- }
- jar {
- dependsOn configurations.runtime
- from { configurations.runtime.collect { it.isDirectory() ? it : zipTree(it).matching{ exclude{it.path.contains('META-INF')}}} }
- manifest {
- attributes 'Main-Class': mainClassName
- }
- }
|