Files
allwpilib/simulation/build.gradle
Peter_Mitrano acc7fbbf01 finishing up FRCSim installer
adds build of gz_msgs on end-user computer
This means we don't need to provide different zips for different
versions of ubuntu.
The problem was that gazebo on 14.04 comes with protobuf 2.5 but gazebo on 15.10 comes with 2.6
added a few other fixes to the install script as well

also fix dependency between simluation publishing and libwpilibcsim
building

Change-Id: I57d5a26ed7795bc61a25402e2986c6023d1d78ac
2015-12-29 13:48:59 -05:00

36 lines
886 B
Groovy

apply plugin: 'java'
apply plugin: 'maven-publish'
publishing {
publications {
simulation(MavenPublication) {
artifact zip
groupId 'edu.wpi.first.wpilib.simulation'
artifactId 'simulation'
version '1.0.0'
}
}
setupWpilibRepo(it)
}
task copy_resources(type: Copy) {
description = 'copy gz_msgs and install_resources to make simulation zip'
group = 'WPILib Simulation'
into ('gz_msgs') {
from 'gz_msgs'
}
into "$simulationInstallDir"
from 'install_resources'
}
task zip(type: Zip, dependsOn: [copy_resources,
':wpilibc:wpilibcSimCopy',
':simulation:SimDS:copyJars',
':wpilibj:copyJars']) {
description = 'zip of all the resources for simulation'
group = 'WPILib Simulation'
baseName = 'simulation-trusty'
from "$simulationInstallDir"
}