-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.gradle
28 lines (24 loc) · 1.15 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
// Note 'apply false' for each plugin. This ensures they aren't applied to the root project (here),
// but it makes the plugins available for subprojects.
plugins {
// GradleRIO is used for code intended to go on robots, which is why it's only applied to the 'robot' project.
id "jaci.openrio.gradle.GradleRIO" version "2017.10.30" apply false
// EmbeddedTools is the backing library for GradleRIO, and includes everything that's non-frc specific, which
// is why we use it for our coprocessor project.
id "jaci.gradle.EmbeddedTools" version "2017.10.30" apply false
}
// Using the 'idea' plugin allows us to use IntelliJ IDEA. IntelliJ works out-of-the-box with multiproject builds
// and so it's very, very easy to integrate with GradleRIO and EmbeddedTools.
// We need to apply 'idea' to all projects, including the root project (here).
allprojects {
apply plugin: "idea"
apply plugin: "eclipse"
}
// Setup the configuration for all sub-projects. This is a shortcut for manually applying the configuration
// in each subproject individually.
subprojects {
apply plugin: "java"
}
task wrapper(type: Wrapper) {
gradleVersion = '4.2.1'
}