-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
31 lines (27 loc) · 899 Bytes
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
apply plugin: 'java'
apply plugin: 'eclipse'
java {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
repositories {
jcenter()
mavenCentral()
}
dependencies {
compile group: 'org.apache.xmlgraphics', name: 'batik-svggen', version: '1.12'
compile group: 'org.apache.xmlgraphics', name: 'batik-dom', version: '1.12'
compile group: 'ar.com.hjg', name: 'pngj', version: '2.1.0'
compile 'org.apache.commons:commons-configuration2:2.7'
compile 'org.apache.commons:commons-math3:3.6.1'
compile 'commons-cli:commons-cli:1.4'
testImplementation 'junit:junit:4.12'
}
task jarAll(type: Jar) {
manifest {
attributes 'Main-Class': 'eu.veldsoft.ellipses.image.approximator.Main'
}
baseName = project.name + '-all'
from { configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } }
with jar
}