forked from wpilibsuite/PathWeaver
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
45 lines (37 loc) · 894 Bytes
/
build.gradle.kts
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
plugins {
`java`
`application`
`pmd`
`checkstyle`
}
group = "edu.wpi.first.path_ui"
version = "0.0.1-SNAPSHOT"
repositories {
mavenCentral()
}
dependencies {
compile("org.apache.commons", "commons-csv", "1.5")
compile("javax.measure", "unit-api", "1.0");
compile("si.uom", "si-units", "0.9");
compile("systems.uom", "systems-common", "0.8");
}
checkstyle {
toolVersion = "8.10"
if (project.hasProperty("ignoreCheckstyle")) {
isIgnoreFailures = true
}
}
pmd {
isConsoleOutput = true
toolVersion = "6.3.0"
reportsDir = file("${project.buildDir}/reports/pmd")
ruleSetFiles = files(File(rootDir, "pmd-ruleset.xml"))
ruleSets = emptyList()
}
application {
mainClassName = "edu.wpi.first.pathui.PathUI"
}
task<Wrapper>("wrapper") {
gradleVersion = "4.7"
distributionType = Wrapper.DistributionType.ALL
}