mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-20 00:51:42 +00:00
Removes the native library from the RoboRIO Jar (#139)
Includes the native zip in the maven artifact as well.
This commit is contained in:
committed by
Peter Johnson
parent
88fdbc6d3e
commit
c45384b91a
@@ -31,9 +31,11 @@ jar {
|
||||
model {
|
||||
binaries {
|
||||
withType(SharedLibraryBinarySpec) { binary ->
|
||||
from(file(binary.sharedLibraryFile)) {
|
||||
into getPlatformPath(binary)
|
||||
}
|
||||
// Only include the native file if not cross compiling to the roboRIO
|
||||
if (!project.isArm || project.hasProperty('compilerPrefix'))
|
||||
from(file(binary.sharedLibraryFile)) {
|
||||
into getPlatformPath(binary)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user