-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathbuild.gradle
59 lines (49 loc) · 967 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
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
plugins {
id 'com.github.johnrengelman.shadow' version '7.1.2'
id 'java'
id 'application'
}
group 'ispd'
version '1.0-SNAPSHOT'
application {
mainClass = 'ispd.Main'
}
dependencies {
implementation group: 'commons-cli', name: 'commons-cli', version: '1.4'
implementation("org.jfree:jfreechart:1.0.14") {
exclude group: "xml-apis"
}
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.8.1'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.8.1'
}
jar {
manifest {
attributes(
'Main-Class': 'ispd.Main'
)
}
}
sourceSets {
main {
java {
srcDirs = ["src/"]
}
resources {
srcDirs = ["src/"]
}
}
test {
java {
srcDirs = ["test/"]
}
}
}
repositories {
mavenCentral()
}
test {
useJUnitPlatform()
}
tasks.withType(JavaCompile) {
options.warnings = false
}