-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
55 lines (43 loc) · 1.29 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
plugins {
id "application"
id "com.github.johnrengelman.shadow"
id "edu.wpi.first.GradleRIO"
id "net.ltgt.errorprone"
}
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
application {
mainClassName "org.frcteam2910.c2020.Main"
}
wpi {
maven {
useLocal false
}
deps.vendor.loadFrom(project(":common:robot"))
}
deploy {
targets {
roboRIO("roborio") {
team frc.getTeamOrDefault(2910)
}
}
artifacts {
frcJavaArtifact("frcJava") {
jar "shadowJar"
targets << "roborio"
debug frc.getDebugOrDefault(false)
}
}
}
dependencies {
compileOnly group: "com.google.errorprone", name: "error_prone_annotations", version: "2.3.4"
implementation wpi.deps.wpilib()
nativeZip wpi.deps.wpilibJni(wpi.platforms.roborio)
nativeDesktopZip wpi.deps.wpilibJni(wpi.platforms.desktop)
implementation wpi.deps.vendor.java()
nativeZip wpi.deps.vendor.jni(wpi.platforms.roborio)
nativeDesktopZip wpi.deps.vendor.jni(wpi.platforms.desktop)
simulation wpi.deps.sim.gui(wpi.platforms.desktop, false)
errorprone group: "com.google.errorprone", name: "error_prone_core", version: "2.3.4"
implementation project(':common:robot')
}