forked from nus-cs2103-AY2324S2/ip
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
78 lines (65 loc) · 1.95 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
plugins {
id 'java'
id 'application'
id 'com.github.johnrengelman.shadow' version '7.1.2'
id 'checkstyle'
}
repositories {
mavenCentral()
}
dependencies {
implementation 'me.xdrop:fuzzywuzzy:1.4.0'
String javaFxVersion = '17.0.10'
implementation "org.openjfx:javafx-base:$javaFxVersion:win"
implementation "org.openjfx:javafx-base:$javaFxVersion:mac"
implementation "org.openjfx:javafx-base:$javaFxVersion:linux"
implementation "org.openjfx:javafx-controls:$javaFxVersion:win"
implementation "org.openjfx:javafx-controls:$javaFxVersion:mac"
implementation "org.openjfx:javafx-controls:$javaFxVersion:linux"
implementation "org.openjfx:javafx-fxml:$javaFxVersion:win"
implementation "org.openjfx:javafx-fxml:$javaFxVersion:mac"
implementation "org.openjfx:javafx-fxml:$javaFxVersion:linux"
implementation "org.openjfx:javafx-graphics:$javaFxVersion:win"
implementation "org.openjfx:javafx-graphics:$javaFxVersion:mac"
implementation "org.openjfx:javafx-graphics:$javaFxVersion:linux"
testImplementation 'org.junit.jupiter:junit-jupiter:5.10.0'
testImplementation 'org.mockito:mockito-core:5.10.0'
}
java {
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
}
application {
mainClass.set("cvb.ConvoBot")
}
shadowJar {
archiveBaseName = "convobot"
archiveClassifier = null
}
run {
standardInput = System.in
enableAssertions = true
}
runShadow {
standardInput = System.in
enableAssertions = false
}
test {
useJUnitPlatform()
testLogging {
events "passed", "skipped", "failed"
showExceptions true
exceptionFormat "full"
showCauses true
showStackTraces true
showStandardStreams = false
}
}
javadoc {
destinationDir = file("$buildDir/docs/javadoc")
}
build.dependsOn javadoc
checkstyle {
toolVersion = '10.12.5'
}
build.dependsOn 'checkstyleMain', 'checkstyleTest'