mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-07-04 03:11:43 +00:00
Add JNI headers to the exported headers when compiled with JNI
Change-Id: I3b2dcad2f15445a9aea27ab0905d397d1cf9f9b5
This commit is contained in:
committed by
Peter Johnson (294)
parent
424efca1bf
commit
da66118331
@@ -133,6 +133,14 @@ task ntcoreZip(type: Zip) {
|
||||
into 'include'
|
||||
}
|
||||
|
||||
if (!hasProperty('skipJava')) {
|
||||
jniHeadersNetworkTables.outputs.each {
|
||||
from(it) {
|
||||
into 'include'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
binaries.withType(StaticLibraryBinarySpec) { binary ->
|
||||
from(binary.staticLibraryFile) {
|
||||
into getPlatformPath(binary)
|
||||
|
||||
Reference in New Issue
Block a user