-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathbuild.gradle
45 lines (39 loc) · 1.12 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
plugins {
id 'application'
id 'org.openjfx.javafxplugin' version '0.0.9'
}
apply plugin: 'java-library'
apply plugin: 'eclipse'
java {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
javafx {
version = "16"
modules = [ 'javafx.controls', 'javafx.fxml' ]
}
repositories {
mavenCentral()
}
dependencies {
implementation 'org.apache.commons:commons-math3:3.6.1'
implementation 'org.apache.commons:commons-collections4:4.3'
implementation 'org.apache.commons:commons-compress:1.18'
implementation 'org.apache.poi:poi:4.0.1'
implementation 'org.apache.poi:poi-ooxml:4.0.1'
implementation 'org.apache.poi:poi-ooxml-schemas:4.0.1'
implementation 'commons-cli:commons-cli:1.4'
testImplementation 'junit:junit:4.12'
}
task jarAll(type: Jar) {
manifest {
attributes 'Main-Class': 'eu.veldsoft.slot.simulator.Main'
}
archiveBaseName = project.name + '-all'
from {
exclude '**/module-info.class'
exclude '**/META-INF/*'
configurations.compileClasspath.collect { it.isDirectory() ? it : zipTree(it) }
}
with jar
}