-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
72 lines (61 loc) · 1.78 KB
/
Copy pathbuild.gradle
File metadata and controls
72 lines (61 loc) · 1.78 KB
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
plugins {
id 'application'
id 'com.adarshr.test-logger' version '4.0.0'
id 'org.openjfx.javafxplugin' version '0.1.0'
id 'com.github.johnrengelman.shadow' version '8.1.1'
}
repositories {
mavenCentral()
}
dependencies {
testImplementation("org.junit.jupiter:junit-jupiter:5.11.3")
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
implementation("org.openjfx:javafx-base:23.0.1:linux")
implementation("org.openjfx:javafx-controls:23.0.1:linux")
implementation("org.openjfx:javafx-fxml:23.0.1:linux")
implementation("org.openjfx:javafx-graphics:23.0.1:linux")
implementation("org.openjfx:javafx-media:23.0.1:linux")
implementation 'com.fasterxml.jackson.core:jackson-databind:2.15.2'
implementation 'com.google.zxing:core:3.5.2'
implementation 'com.google.zxing:javase:3.5.2'
implementation 'org.json:json:20210307'
}
test {
useJUnitPlatform()
testLogging {
events "passed", "skipped", "failed", "standardOut", "standardError"
}
}
testlogger {
theme 'mocha'
showExceptions true
showStackTraces true
showFullStackTraces false
showCauses true
slowThreshold 5000
showSummary true
showSimpleNames false
showPassed true
showSkipped true
showFailed true
showStandardStreams false
showPassedStandardStreams true
showSkippedStandardStreams true
showFailedStandardStreams true
}
javafx {
version = "23.0.1"
modules = [ 'javafx.controls', 'javafx.fxml', 'javafx.media' ]
}
application {
mainClass.set("linguacrypt.Main")
}
shadowJar {
archiveClassifier.set("all") // Nom du fichier JAR final
manifest {
attributes("Main-Class": application.mainClass.get()) // Définit la classe principale
}
jar {
enabled = false
}
}