forked from gspd-unesp/ispd
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
58 lines (47 loc) · 1.22 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
plugins {
id 'com.github.johnrengelman.shadow' version '7.1.2'
id 'java'
id 'application'
}
group 'gspd'
version '1.0.0-SNAPSHOT'
application {
mainClass = 'ispd.Main'
}
dependencies {
implementation 'commons-cli:commons-cli:1.5.0'
implementation 'org.jetbrains:annotations:24.0.1'
implementation('org.jfree:jfreechart:1.5.4') {
exclude group: "xml-apis"
}
testImplementation 'com.approvaltests:approvaltests:18.7.1'
testImplementation 'org.assertj:assertj-core:3.24.2'
testImplementation 'org.hamcrest:hamcrest:2.2'
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.10.0'
testImplementation 'org.junit.jupiter:junit-jupiter-params:5.10.0'
testImplementation 'org.mockito:mockito-core:5.5.0'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.10.0'
}
jar {
manifest {
attributes(
'Main-Class': 'ispd.Main'
)
}
}
sourceSets {
main {
resources {
srcDirs = ["src/main/java/", "src/main/resources/"]
}
}
}
repositories {
mavenCentral()
}
test {
useJUnitPlatform()
}
tasks.withType(JavaCompile).configureEach {
options.compilerArgs << "-Xlint:all" << "-Xmaxwarns" << "300"
}