-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
43 lines (36 loc) · 985 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
buildscript {
repositories {
jcenter()
maven {
url "https://plugins.gradle.org/m2/"
}
}
// check if the plugin exists (ie imported by super-project). if not, load it
try {
plugins.getPlugin("jaci.openrio.gradle.GradleRIO")
} catch (UnknownPluginException ignore) {
dependencies {
classpath "gradle.plugin.jaci.openrio.gradle:GradleRIO:2018.01.11"
}
}
}
repositories {
jcenter()
}
apply plugin: "java"
apply plugin: "eclipse"
apply plugin: "idea"
apply plugin: "jaci.openrio.gradle.GradleRIO"
// Defining my dependencies. In this case, WPILib (+ friends), CTRE Toolsuite (Talon SRX)
// and NavX.
dependencies {
compile wpilib()
compile ctre()
compile navx()
compile group: 'org.ejml', name: 'ejml-all', version: '0.32'
testCompile 'junit:junit:4.12'
testCompile "org.mockito:mockito-core:2.+"
}
task wrapper(type: Wrapper) {
gradleVersion = '4.4.1'
}