Brian Silverman | 26e4e52 | 2015-12-17 01:56:40 -0500 | [diff] [blame^] | 1 | publishing { |
| 2 | publications { |
| 3 | wpilibcSim(MavenPublication) { |
| 4 | artifact wpilibcSimZip |
| 5 | groupId 'edu.wpi.first.wpilibc.simulation' |
| 6 | artifactId 'WPILibCSim' |
| 7 | version '0.1.0' |
| 8 | } |
| 9 | } |
| 10 | } |
| 11 | |
| 12 | task wpilibcSimZip(type: Zip) { |
| 13 | description 'Creates the include zip file for wpilibc' |
| 14 | group 'WPILib' |
| 15 | baseName 'WPILibCSim' |
| 16 | destinationDir = project.buildDir |
| 17 | into 'sim/include' |
| 18 | from "${simulation}/include" |
| 19 | from "${shared}/include" |
| 20 | from '../build/simulation/gz_msgs/generated' |
| 21 | from netTablesInclude |
| 22 | from '../hal/include' |
| 23 | } |