From b72885b4f82eadaa7a14d2d128810a5476fa5e4e Mon Sep 17 00:00:00 2001 From: Thad House Date: Sat, 21 Jul 2018 23:50:01 -0700 Subject: [PATCH] Remove wildcard dep version from gazebo msg (#1203) We don't want any wildcards in allwpilib. Also uses plugin repo for protobuf rather then mavenCentral. --- simulation/gz_msgs/build.gradle | 26 +++++++------------------- 1 file changed, 7 insertions(+), 19 deletions(-) diff --git a/simulation/gz_msgs/build.gradle b/simulation/gz_msgs/build.gradle index 876063f989..126cc012e0 100644 --- a/simulation/gz_msgs/build.gradle +++ b/simulation/gz_msgs/build.gradle @@ -1,28 +1,16 @@ -description = "A C++ and Java library to pass FRC Simulation Messages in and out of Gazebo." +plugins { + id 'cpp' + id 'java' + id 'com.google.protobuf' version '0.8.6' + id 'edu.wpi.first.NativeUtils' +} -apply plugin: 'cpp' -apply plugin: 'java' -apply plugin: 'com.google.protobuf' -apply plugin: 'edu.wpi.first.NativeUtils' +description = "A C++ and Java library to pass FRC Simulation Messages in and out of Gazebo." /* The simulation does not run on real hardware; so we always skip Athena */ ext.skipAthena = true apply from: "${rootDir}/shared/config.gradle" -repositories { - mavenCentral() -} - -buildscript { - repositories { - mavenCentral() - } - dependencies { - classpath 'com.google.protobuf:protobuf-gradle-plugin:+' - } -} - - /* Use a sort of poor man's autoconf to find the protobuf development files; on Debian, those are supplied by libprotobuf-dev.