mirror of
https://github.com/priyanshujain/sanderling.git
synced 2026-10-04 12:07:09 +00:00
build(sidecar): strip iOS runner bundles and classes from the fat jar
This commit is contained in:
1 parent
7c2f5e296c
commit
19e1c26f04
2 files changed
+7
-1
No files matched your search
@@ -98,6 +98,12 @@ application {
|
||||
tasks.named<com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar>("shadowJar") {
|
||||
archiveFileName.set("sidecar-all.jar")
|
||||
exclude("META-INF/*.SF", "META-INF/*.DSA", "META-INF/*.RSA")
|
||||
// The iOS driving modules arrive transitively through maestro-client but
|
||||
// the sidecar only drives Android, so strip the iOS UITest runner bundles
|
||||
// and iOS-only classes from the fat JAR. Compilation keeps the full
|
||||
// classpath; only the packaged artifact drops these.
|
||||
exclude("driver-iphoneos/**", "driver-iPhoneSimulator/**")
|
||||
exclude("ios/**", "xcuitest/**", "hierarchy/**")
|
||||
}
|
||||
|
||||
// JUnit 4 (vintage) for the gRPC GrpcCleanupRule + JUnit 5 (jupiter)
|
||||
|
||||
Reference in new issue
Block a user