Skip to content

Commit

Permalink
oops
Browse files Browse the repository at this point in the history
  • Loading branch information
mcm001 committed Oct 29, 2024
1 parent f5465f7 commit ec97995
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions photon-targeting/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -115,11 +115,11 @@ model {
// only include release binaries (hard coded for now)
def isDebug = binary.buildType.name.contains('debug')
if (!isDebug) {
println "Adding binary $binary.sharedLibraryFile to resourcesFolder: $wpilibNativeName"
println "Adding binary $binary.sharedLibraryFile to resourcesFolder: $platName"
syncOutputsFolder {
// Just shove the shared library into the root of the jar output by photon-targeting:jar
from(binary.sharedLibraryFile) {
into "nativelibraries/${wpilibNativeName}/"
into "nativelibraries/${platName}/"
}
// And (not sure if this is a hack) make the jar task depend on the build task
dependsOn binary.identifier.projectScopedName
Expand Down

0 comments on commit ec97995

Please sign in to comment.