Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,9 @@ jobs:
{
echo "Built against \`com.shimmerresearch:shimmerdriver\` and \`com.shimmerresearch:shimmerbluetoothmanager\` **$DRIVER** ([API_v$DRIVER]($driver_url)). Add both, at that version, to your app's dependencies."
echo
# The driver's JNA is desktop-only; its two jars clash on META-INF/AL2.0 in an Android app.
echo "Exclude \`net.java.dev.jna\` from both, or the app fails packaging with \"2 files found with path 'META-INF/AL2.0'\". The exclusions this library builds with are in [ShimmerAndroidInstrumentDriver/build.gradle]($GITHUB_SERVER_URL/$GITHUB_REPOSITORY/blob/$TAG/ShimmerAndroidInstrumentDriver/build.gradle)."
echo
gh api "repos/$GITHUB_REPOSITORY/releases/generate-notes" "${args[@]}" --jq .body
} > notes.md
gh release create "$TAG" release-assets/* \
Expand Down
6 changes: 6 additions & 0 deletions ShimmerAndroidInstrumentDriver/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,9 @@ allprojects {
// excluding org.json which is provided by Android
exclude group: 'io.netty'
exclude group: 'com.google.protobuf'
// JNA (in the driver since 0.11.8_beta) is for the desktop USB debug listeners only; on
// Android its two jars clash on META-INF/AL2.0 and fail every app's packaging.
exclude group: 'net.java.dev.jna'
Comment thread
JongChern marked this conversation as resolved.
Resolved
exclude group: 'org.apache.commons.math'
}

Expand All @@ -96,6 +99,9 @@ allprojects {
// excluding org.json which is provided by Android
exclude group: 'io.netty'
exclude group: 'com.google.protobuf'
// JNA (in the driver since 0.11.8_beta) is for the desktop USB debug listeners only; on
// Android its two jars clash on META-INF/AL2.0 and fail every app's packaging.
exclude group: 'net.java.dev.jna'
}
}
}
Expand Down
Loading