mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-23 01:21:42 +00:00
Now publishes in zips, and with proper artifacts. The code files just moved, and no changes.
41 lines
1.0 KiB
Groovy
41 lines
1.0 KiB
Groovy
description = "A simulation shared object that simply prints robot behaviors"
|
|
|
|
apply plugin: 'edu.wpi.first.NativeUtils'
|
|
apply plugin: 'cpp'
|
|
|
|
if (!project.hasProperty('onlyAthena')) {
|
|
ext.skipAthena = true
|
|
|
|
apply from: "../../config.gradle"
|
|
|
|
|
|
model {
|
|
components {
|
|
halsim_print(NativeLibrarySpec) {
|
|
sources {
|
|
cpp {
|
|
source {
|
|
srcDirs = [ 'src/main/native/cpp' ]
|
|
includes = ["**/*.cpp"]
|
|
}
|
|
exportedHeaders {
|
|
srcDirs = ["src/main/native/include"]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
binaries {
|
|
all {
|
|
project(':hal').addHalCompilerArguments(it)
|
|
project(':hal').addHalToLinker(it)
|
|
}
|
|
withType(StaticLibraryBinarySpec) {
|
|
it.buildable = false
|
|
}
|
|
}
|
|
}
|
|
apply from: 'publish.gradle'
|
|
}
|