-
Notifications
You must be signed in to change notification settings - Fork 20
/
build.gradle
116 lines (105 loc) · 3.79 KB
/
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
plugins {
id 'java'
id 'java-library'
id 'eclipse'
id 'idea'
id 'org.openjfx.javafxplugin' version '0.0.13'
id 'org.beryx.jlink' version '2.25.0'
id 'org.jetbrains.kotlin.jvm'
}
idea {
module {
inheritOutputDirs = true
}
}
repositories {
mavenCentral()
}
//compatibility for reflection support
sourceCompatibility = 16
targetCompatibility = 16
dependencies {
implementation fileTree(dir: 'lib', include: ['*.jar'])
implementation group: 'com.google.guava', name: 'guava', version: '23.5-jre'
implementation 'org.reflections:reflections:0.9.10'
implementation group: 'com.google.code.gson', name: 'gson', version: '2.7'
implementation group: 'org.scala-lang', name: 'scala-library', version: '2.12.4'
implementation group: 'com.orsonpdf', name: 'orsonpdf', version: '1.8'
implementation group: 'com.object-refinery', name: 'orsoncharts', version: '1.7'
testImplementation group: 'junit', name: 'junit', version: '4.12'
testImplementation group: 'org.hamcrest', name: 'hamcrest-core', version: '1.3'
implementation group: 'com.panayotis', name: 'javaplot', version: '0.5.0'
implementation group: 'gov.nist.math', name: 'jama', version: '1.0.3'
implementation group: 'com.googlecode.efficient-java-matrix-library', name: 'ejml', version: '0.25'
implementation group: 'args4j', name: 'args4j', version: '2.33'
implementation 'org.jfree:jfreechart-swt:1.0'
implementation 'org.jfree:swtgraphics2d:1.0'
implementation 'org.jfree:jfreesvg:3.3'
implementation 'org.jfree:jcommon:1.0.24'
implementation 'org.jfree:jfreechart:1.0.19'
implementation 'org.apache.xmlgraphics:batik:1.16'
implementation 'org.apache.xmlgraphics:batik-svggen:1.16'
implementation 'org.apache.xmlgraphics:batik-dom:1.16'
implementation 'org.apache.xmlgraphics:batik-transcoder:1.16'
implementation 'com.itextpdf:itextpdf:5.5.13.3'
implementation 'net.sf.epsgraphics:epsgraphics:1.2'
implementation group: 'org.javassist', name: 'javassist', version: '3.24.0-GA'
implementation group: 'com.fasterxml.jackson.dataformat', name: 'jackson-dataformat-xml', version: '2.12.1'
implementation 'com.fasterxml.jackson.core:jackson-core:2.16.1'
implementation 'com.fasterxml.jackson.core:jackson-annotations:2.16.1'
implementation 'org.jetbrains:annotations:13.0'
implementation 'org.apache.commons:commons-math3:3.6.1'
implementation 'org.apache.commons:commons-rng-core:1.4'
implementation 'org.apache.commons:commons-rng-simple:1.4'
implementation 'org.apache.commons:commons-lang3:3.4'
implementation 'commons-io:commons-io:2.11.0'
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
}
version = '1.0'
jar {
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
manifest {
attributes 'Implementation-Title': 'EARS',
'Implementation-Version': '1.0',
'Main-Class': 'org.um.feri.ears.engine.ExecuteTournaments'
}
from {
configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) } //include all dependencies in jar
}
exclude {
}
}
sourceSets {
main {
java {
srcDir 'src'
}
resources {
srcDirs 'Weight', 'test_data', 'src', 'res'
}
}
}
configurations {
jar.archiveFileName = 'ears.jar'
}
javafx {
version = '17.0.7'
modules = ['javafx.controls', 'javafx.fxml']
}
jlink {
imageZip = project.file("${buildDir}/distributions/app-${javafx.platform.classifier}.zip")
options = ['--strip-debug', '--compress', '2', '--no-header-files', '--no-man-pages']
launcher {
name = 'app'
}
}
compileKotlin {
kotlinOptions {
jvmTarget = "1.8"
}
}
compileTestKotlin {
kotlinOptions {
jvmTarget = "1.8"
}
}