Upgrade to Gradle 5.0 (#1444)

Also skip raspbian for gazebo.
This commit is contained in:
Thad House
2018-11-29 23:17:06 -08:00
committed by Peter Johnson
parent 90572a3cc5
commit 5551981b3f
12 changed files with 16 additions and 12 deletions

View File

@@ -5,6 +5,7 @@ apply plugin: 'cpp'
apply plugin: "google-test"
ext.skipAthena = true
ext.skipRaspbian = true
apply from: "${rootDir}/shared/config.gradle"

View File

@@ -9,6 +9,7 @@ description = "A C++ and Java library to pass FRC Simulation Messages in and out
/* The simulation does not run on real hardware; so we always skip Athena */
ext.skipAthena = true
ext.skipRaspbian = true
apply from: "${rootDir}/shared/config.gradle"
/* Use a sort of poor man's autoconf to find the protobuf development

View File

@@ -4,6 +4,7 @@ apply plugin: 'edu.wpi.first.NativeUtils'
apply plugin: 'cpp'
ext.skipAthena = true
ext.skipRaspbian = true
ext.pluginName = 'halsim_gazebo'
/* If gz_msgs or gazebo is not available, do not attempt a build */
@@ -33,11 +34,11 @@ if (!gazebo_version?.trim()) {
evaluationDependsOn(":simulation:gz_msgs")
def gz_msgs_project = project(":simulation:gz_msgs")
tasks.whenTaskAdded { task ->
task.onlyIf { !gz_msgs_project.hasProperty('skip_gz_msgs') && !project.hasProperty('skip_frc_plugins') }
}
if (!gz_msgs_project.hasProperty('skip_gz_msgs') && !project.hasProperty('skip_frc_plugins')) {
apply from: "${rootDir}/shared/plugins/setupBuild.gradle"
apply from: "${rootDir}/shared/plugins/setupBuild.gradle"
}
model {
binaries {