-
Notifications
You must be signed in to change notification settings - Fork 68
/
dependencies.gradle
79 lines (63 loc) · 2.93 KB
/
dependencies.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
79
wpilibTools.deps.wpilibVersion = "2025.+"
def nativeConfigName = 'wpilibNatives'
def nativeConfig = configurations.create(nativeConfigName)
def nativeTasks = wpilibTools.createExtractionTasks {
configurationName = nativeConfigName
}
nativeTasks.addToSourceSetResources(sourceSets.main)
nativeConfig.dependencies.add wpilibTools.deps.wpilib("wpimath")
nativeConfig.dependencies.add wpilibTools.deps.wpilib("wpinet")
nativeConfig.dependencies.add wpilibTools.deps.wpilib("wpiutil")
dependencies {
implementation wpilibTools.deps.wpilibJava("wpiunits")
implementation wpilibTools.deps.wpilibJava("wpiutil")
implementation wpilibTools.deps.wpilibJava("wpimath")
implementation wpilibTools.deps.wpilibJava("wpinet")
implementation wpilibTools.deps.wpilibJava("fieldImages")
implementation wpilibTools.deps.javafx("base")
implementation wpilibTools.deps.javafx("controls")
implementation wpilibTools.deps.javafx("fxml")
implementation wpilibTools.deps.javafx("graphics")
implementation "com.fasterxml.jackson.core:jackson-annotations:2.12.4"
implementation "com.fasterxml.jackson.core:jackson-core:2.12.4"
implementation "com.fasterxml.jackson.core:jackson-databind:2.12.4"
implementation "us.hebi.quickbuf:quickbuf-runtime:1.3.2"
implementation group: "org.fxmisc.easybind", name: "easybind", version: "1.0.3"
implementation group: "javax.measure", name: "unit-api", version: "1.0"
implementation group: "si.uom", name: "si-units", version: "2.0.1"
implementation group: "systems.uom", name: "systems-common", version: "2.0"
implementation group: "tech.units", name: "indriya", version: "2.0.1"
implementation group: "com.google.code.gson", name: "gson", version: "2.8.5"
implementation group: "org.apache.commons", name: "commons-csv", version: "1.5"
implementation group: "org.ejml", name: "ejml-simple", version: "0.43.1"
def junitJupiter = { name ->
create group: 'org.junit.jupiter', name: name, version: '5.6.1'
}
testImplementation(junitJupiter("junit-jupiter-api"))
testImplementation(junitJupiter("junit-jupiter-engine"))
testImplementation(junitJupiter("junit-jupiter-params"))
}
ext.projectMainClass = "edu.wpi.first.pathweaver.Main"
spotbugsMain.enabled = false
tasks.withType(Test).configureEach {
useJUnitPlatform {
if (project.hasProperty("skipUI")) {
excludeTags("UI")
}
if (!project.hasProperty("visibleUiTests")) {
jvmArgs = [
"-Djava.awt.headless=true",
"-Dtestfx.robot=glass",
"-Dtestfx.headless=true",
"-Dprism.order=sw",
"-Dprism.text=t2k"
]
excludeTags("NonHeadlessTests")
}
systemProperty("junit.jupiter.extensions.autodetection.enabled", true)
}
finalizedBy("jacocoTestReport")
}
tasks.withType(Javadoc).configureEach {
failOnError = false
}