Skip to content

Commit

Permalink
Merge pull request #237 from wellcomecollection/rk/bump-elastic-apm
Browse files Browse the repository at this point in the history
Exclude transitive dependency on pre 5.7 version of JNA
  • Loading branch information
kenoir authored Jan 22, 2024
2 parents ba4b0d9 + 0a1cd43 commit f022ab8
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
5 changes: 5 additions & 0 deletions RELEASE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
RELEASE_TYPE: patch

Update elastic APM libraries, needed to avoid JNA issue on M1 macs.

See https://github.com/wellcomecollection/scala-libs/pull/236
6 changes: 5 additions & 1 deletion project/Dependencies.scala
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,11 @@ object Dependencies {
)

val elasticApmAgentDependencies = Seq(
"co.elastic.apm" % "apm-agent-attach" % versions.elasticApm,
"co.elastic.apm" % "apm-agent-attach" % versions.elasticApm
// This needs to be excluded because it prevents this library functioning on M1 macs
// at the current version of apm-agent-attach it pulls in version 5.3.1 of jna,
// we need at least 5.7 to fix this issue. See https://github.com/java-native-access/jna/pull/1238
exclude("net.java.dev.jna", "jna"),
"co.elastic.apm" % "apm-agent-api" % versions.elasticApm,
)

Expand Down

0 comments on commit f022ab8

Please sign in to comment.