Skip to content

Commit df46a5e

Browse files
committed
move to sdk-bridge
1 parent fe60b31 commit df46a5e

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

javaagent/build.gradle.kts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,8 @@ tasks {
287287
doLast {
288288
val filePath = rootDir.toPath().resolve("licenses").resolve("licenses.md")
289289
if (Files.exists(filePath)) {
290-
val datePattern = Pattern.compile("^_[0-9]{4}-[0-9]{2}-[0-9]{2} [0-9]{2}:[0-9]{2}:[0-9]{2} .*_$")
290+
val datePattern =
291+
Pattern.compile("^_[0-9]{4}-[0-9]{2}-[0-9]{2} [0-9]{2}:[0-9]{2}:[0-9]{2} .*_$")
291292
val lines = Files.readAllLines(filePath)
292293
// 4th line contains the timestamp of when the license report was generated, replace it with
293294
// an empty line
@@ -413,7 +414,8 @@ fun CopySpec.copyByteBuddy(jar: Provider<RegularFile>) {
413414
eachFile {
414415
if (path.startsWith("net/bytebuddy/") &&
415416
// this is our class that we have placed in the byte buddy package, need to preserve it
416-
!path.startsWith("net/bytebuddy/agent/builder/AgentBuilderUtil")) {
417+
!path.startsWith("net/bytebuddy/agent/builder/AgentBuilderUtil")
418+
) {
417419
exclude()
418420
} else if (path.startsWith("META-INF/versions/9/net/bytebuddy/")) {
419421
path = path.removePrefix("META-INF/versions/9/")

0 commit comments

Comments
 (0)