-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
62 lines (51 loc) · 1.25 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
56
57
58
59
60
61
62
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath 'org.junit.platform:junit-platform-gradle-plugin:1.0.0-M2'
}
}
plugins {
id "java"
id "eclipse"
id "idea"
id "jaci.openrio.gradle.GradleRIO" version "2017.1.1"
}
apply plugin: 'org.junit.platform.gradle.plugin'
junitPlatform {
platformVersion = "1.0.0-M2"
}
repositories {
mavenCentral()
}
frc {
team = "2576"
robotClass = "com.pie.robot.PieRobot"
}
dependencies {
compile wpilib()
compile talonSrx()
compile fileTree(dir: "lib", include: "*.jar")
}
dependencies {
testCompile group: 'org.junit.jupiter', name: 'junit-jupiter-api', version: '5.0.0-M2'
testCompile group: 'org.junit.platform', name: 'junit-platform-runner', version: '1.0.0-M2'
testRuntime group: 'org.junit.jupiter', name: 'junit-jupiter-engine', version: '5.0.0-M2'
}
def robotManifest = {
attributes 'Main-Class': 'edu.wpi.first.wpilibj.RobotBase'
attributes 'Robot-Class': frc.robotClass
}
jar {
from configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }
manifest robotManifest
}
task wrapper(type: Wrapper) {
gradleVersion = '3.2.1'
}
test {
testLogging {
events 'started', 'passed'
}
}