Add JNI headers to the exported headers when compiled with JNI

Change-Id: I3b2dcad2f15445a9aea27ab0905d397d1cf9f9b5
This commit is contained in:
Fredric Silberberg
2015-11-01 22:00:11 -05:00
committed by Peter Johnson (294)
parent 424efca1bf
commit da66118331

View File

@@ -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)