mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-22 01:11:42 +00:00
To publish the simulation zip, run ./gradlew publish -PmakeSim Targeting Ubuntu 14.04 and 15.10 for now, with 14.04 being the currently best supported. Two scripts have been drafted for installing, for 14.04 and 15.10 It currently publishes to ~/releases/maven/development/simulation There is a known bug that gz_msgs for 15.10 must be built using protobuf 2.6, which is not the default on 14.04. Change-Id: I6cccd601671553d30fd05bbbc79c2b7dc1efbf1d
30 lines
583 B
Groovy
30 lines
583 B
Groovy
plugins {
|
|
id 'org.ysb33r.doxygen' version '0.2'
|
|
id 'cpp'
|
|
id 'maven-publish'
|
|
}
|
|
|
|
evaluationDependsOn(':hal')
|
|
|
|
ext.shared = 'shared'
|
|
ext.athena = 'Athena'
|
|
ext.simulation = 'simluation'
|
|
|
|
// Attempts to execute the doxygen command. If there is no exception, doxygen exists, so return true. If there's
|
|
// an IOException, it doesn't exist, so return false
|
|
ext.checkDoxygen = {
|
|
try {
|
|
'doxygen'.execute()
|
|
true
|
|
} catch (IOException e) {
|
|
false
|
|
}
|
|
}
|
|
|
|
apply from: 'athena.gradle'
|
|
|
|
if (hasProperty('makeSim')){
|
|
apply from: 'simulation.gradle'
|
|
}
|
|
|