Skip to content

Commit 35d0d4a

Browse files
committed
[build] Remove custom binary signing code
Requires wpilibsuite/native-utils#219 Signed-off-by: Jade Turner <[email protected]>
1 parent 466a4a5 commit 35d0d4a

File tree

1 file changed

+0
-26
lines changed

1 file changed

+0
-26
lines changed

build.gradle

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -138,32 +138,6 @@ subprojects {
138138
options.addStringOption("docencoding", "utf-8")
139139
options.addStringOption("encoding", "utf-8")
140140
}
141-
142-
// Sign outputs with Developer ID
143-
tasks.withType(AbstractLinkTask) { task ->
144-
task.inputs.property "HasDeveloperId", project.hasProperty("developerID")
145-
146-
if (project.hasProperty("developerID")) {
147-
// Don't sign any executables because codesign complains
148-
// about relative rpath.
149-
if (!(task instanceof LinkExecutable)) {
150-
doLast {
151-
// Get path to binary.
152-
String path = task.getLinkedFile().getAsFile().get().getAbsolutePath()
153-
exec {
154-
workingDir rootDir
155-
def args = [
156-
"sh",
157-
"-c",
158-
"codesign --force --strict --timestamp --options=runtime " +
159-
"--verbose -s ${project.findProperty("developerID")} ${path}"
160-
]
161-
commandLine args
162-
}
163-
}
164-
}
165-
}
166-
}
167141
}
168142

169143
ext.getCurrentArch = {

0 commit comments

Comments
 (0)