|
@@ -22,11 +22,12 @@ plugins {
|
|
|
|
|
|
// Apply the java plugin to add support for Java
|
|
|
apply plugin: 'java'
|
|
|
+apply plugin: 'eclipse'
|
|
|
apply plugin: 'application'
|
|
|
apply plugin: 'edu.sc.seis.launch4j'
|
|
|
|
|
|
|
|
|
-version = '1.0'
|
|
|
+version = '2.1'
|
|
|
|
|
|
mainClassName = 'ui.view.Main'
|
|
|
def projectName = 'holeg'
|
|
@@ -76,8 +77,18 @@ repositories {
|
|
|
}
|
|
|
|
|
|
dependencies {
|
|
|
- compile fileTree(dir: 'jars', include: ['*.jar'])
|
|
|
+ // download jars on the fly
|
|
|
+ // https://mvnrepository.com/artifact/org.apache.commons/commons-compress
|
|
|
+ compile group: 'org.apache.commons', name: 'commons-compress', version: '1.13'
|
|
|
+ // https://mvnrepository.com/artifact/com.google.code.gson/gson
|
|
|
+ compile group: 'com.google.code.gson', name: 'gson', version: '2.8.2'
|
|
|
+ // https://mvnrepository.com/artifact/junit/junit
|
|
|
+ testCompile group: 'junit', name: 'junit', version: '4.12'
|
|
|
+ compile group: 'junit', name: 'junit', version: '4.12'
|
|
|
+
|
|
|
+ // use /jar Folder (old system)
|
|
|
compile fileTree(dir: 'jars/commons-compress-1.13', include: ['*.jar'])
|
|
|
+ compile fileTree(dir: 'jars', include: ['*.jar'])
|
|
|
testCompile group: 'junit', name: 'junit', version: '4.+'
|
|
|
}
|
|
|
|