This repository has been archived by the owner on Oct 31, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
115 lines (97 loc) · 2.5 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
plugins {
id "java"
id "eclipse"
id "idea"
id "jaci.openrio.gradle.GradleRIO" version "2017.1.5" apply false
}
project(':commscode'){
apply plugin: 'jaci.openrio.gradle.GradleRIO'
apply plugin: 'java'
apply plugin: 'eclipse'
frc{
team = "1885"
deploy = false
}
wpi {
opencvVersion = "3.1.0"
}
repositories{
jcenter()
}
dependencies{
compile group: 'org.json', name: 'json', version: '20090211'
compile wpilib()
}
}
project(':robotcode') {
apply plugin: 'jaci.openrio.gradle.GradleRIO'
apply plugin: 'eclipse'
apply plugin: 'groovy'
sourceCompatibility = 1.8
targetCompatibility = 1.8
frc {
team = "1885"
robotClass = "org.usfirst.frc.team1885.robot.Robot"
}
wpi {
opencvVersion = "3.1.0"
}
repositories {
jcenter()
}
dependencies {
compile wpilib()
// compile talonSrx()
compile files('res/navx_frc.jar')
compile files('res/ctrlib/CTRLib.jar')
nativeLib files('res/ctrlib/libCTRLibDriver.so')
compile group: 'com.google.guava', name: 'guava', version: '19.0'
// compile group: 'org.json', name: 'json', version: '20090211'
compile project(':commscode')
testCompile( 'junit:junit:4.12', 'org.codehaus.groovy:groovy-all:2.4.4', 'org.spockframework:spock-core:1.0-groovy-2.4')
}
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'
}
}
//project(':VisionClient') {
// apply plugin: 'eclipse'
// apply plugin: 'java'
// dependencies {
// compile project(':Androidcode:App:visionUtils')
//
// }
//}
project(':displaycode'){
apply plugin: 'eclipse'
apply plugin: 'java'
apply plugin: 'jaci.openrio.gradle.GradleRIO'
frc{
team = "1885"
deploy = false
}
repositories {
mavenCentral() // tilesFX & Medusa (gauges)
jcenter() // fontawesomeFX
}
wpi {
opencvVersion = "3.1.0"
}
dependencies {
compile wpilib()
compile 'de.jensd:fontawesomefx-commons:8.15'
compile 'de.jensd:fontawesomefx-fontawesome:4.7.0-5'
compile 'de.jensd:fontawesomefx-icons525:3.0.0-4'
compile 'de.jensd:fontawesomefx-materialdesignfont:1.4.57-2'
compile 'eu.hansolo:Medusa:7.6'
compile 'eu.hansolo:tilesfx:1.3.5'
}
}