Skip to content

Commit

Permalink
Bump bytebuddy from 1.15.3 to 1.15.9 (#20)
Browse files Browse the repository at this point in the history
* Bump bytebuddy from 1.15.3 to 1.15.9

Bumps `bytebuddy` from 1.15.3 to 1.15.9.

Updates `net.bytebuddy:byte-buddy` from 1.15.3 to 1.15.9
- [Release notes](https://github.com/raphw/byte-buddy/releases)
- [Changelog](https://github.com/raphw/byte-buddy/blob/master/release-notes.md)
- [Commits](raphw/byte-buddy@byte-buddy-1.15.3...byte-buddy-1.15.9)

Updates `net.bytebuddy:byte-buddy-agent` from 1.15.3 to 1.15.9
- [Release notes](https://github.com/raphw/byte-buddy/releases)
- [Changelog](https://github.com/raphw/byte-buddy/blob/master/release-notes.md)
- [Commits](raphw/byte-buddy@byte-buddy-1.15.3...byte-buddy-1.15.9)

---
updated-dependencies:
- dependency-name: net.bytebuddy:byte-buddy
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: net.bytebuddy:byte-buddy-agent
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Adjust build config for duplicate Byte Buddy classes

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Marcono1234 <Marcono1234@users.noreply.github.com>
  • Loading branch information
dependabot[bot] and Marcono1234 authored Nov 3, 2024
1 parent 4c148c9 commit a77c09f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
9 changes: 8 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -129,12 +129,19 @@ tasks.shadowJar {
// Main class is used for printing usage help on command line
"Main-Class" to "marcono1234.unsafe_sanitizer.AgentMain",

// Note: Depending on the dependencies, might have to set `Multi-Release: true`, see https://github.com/johnrengelman/shadow/issues/449
// Mark as mutli-release due to multi-release dependencies, see also https://github.com/johnrengelman/shadow/issues/449
// TODO: Currently does not work due to https://github.com/raphw/byte-buddy/issues/1724
// "Multi-Release" to "true",
)
}

// Exclude `module-info` from dependencies, see also https://github.com/johnrengelman/shadow/issues/729
exclude("META-INF/versions/*/module-info.class")

// Exclude duplicated Byte Buddy classes; Byte Buddy contains the same class files for Java 5 and Java 8, but since
// this project here is using Java > 8 can omit the Java 5 classes, see also https://github.com/raphw/byte-buddy/pull/1719
// TODO: Currently does not work due to https://github.com/raphw/byte-buddy/issues/1724
// exclude("net/bytebuddy/**")
}
// Run shadow task by default
tasks.build {
Expand Down
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# https://docs.gradle.org/8.5/userguide/platforms.html#sub::toml-dependencies-format

[versions]
bytebuddy = "1.15.3"
bytebuddy = "1.15.9"
junit = "5.11.3"

[libraries]
Expand Down

0 comments on commit a77c09f

Please sign in to comment.