-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
56 lines (47 loc) · 995 Bytes
/
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
plugins {
id "java"
id "idea"
id "jaci.openrio.gradle.GradleRIO" version "2018.03.06"
}
repositories { jcenter() }
sourceSets {
test {
java {
srcDir 'frc.team3256.lib'
}
}
}
wpi{
ctreVersion = "5.3.1.0"
wpilibVersion = "2018.3.3"
}
def TEAM = 3256
def ROBOT_CLASS = "frc.team3256.robot.Robot"
deploy {
targets {
target("roborio", jaci.openrio.gradle.frc.RoboRIO) {
team = TEAM
}
}
artifacts {
artifact('frcJava', jaci.openrio.gradle.frc.FRCJavaArtifact) {
targets << "roborio"
}
}
}
test {
testLogging.showStandardStreams = true
}
dependencies {
testCompile 'junit:junit:4.12'
compile 'junit:junit:4.12'
compile wpilib()
compile ctre()
}
jar {
from configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }
manifest jaci.openrio.gradle.GradleRIOPlugin.javaManifest(ROBOT_CLASS)
}
wrapper{
gradleVersion = '4.9'
}