Skip to content

Commit 05c5bac

Browse files
committed
formatting
1 parent 4a48a27 commit 05c5bac

File tree

5 files changed

+21
-9
lines changed

5 files changed

+21
-9
lines changed

sentry-samples/sentry-samples-netflix-dgs/build.gradle.kts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,11 @@ tasks.shadowJar {
9696
val uri = URI.create("jar:${jarFile.toURI()}")
9797
FileSystems.newFileSystem(uri, mapOf("create" to "false")).use { fs ->
9898
metaDir.listFiles()?.forEach { merged ->
99-
Files.copy(merged.toPath(), fs.getPath("META-INF/${merged.name}"), StandardCopyOption.REPLACE_EXISTING)
99+
Files.copy(
100+
merged.toPath(),
101+
fs.getPath("META-INF/${merged.name}"),
102+
StandardCopyOption.REPLACE_EXISTING,
103+
)
100104
}
101105
}
102106
}

sentry-samples/sentry-samples-spring-boot-opentelemetry-noagent/build.gradle.kts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,11 @@ tasks.shadowJar {
137137
val uri = URI.create("jar:${jarFile.toURI()}")
138138
FileSystems.newFileSystem(uri, mapOf("create" to "false")).use { fs ->
139139
metaDir.listFiles()?.forEach { merged ->
140-
Files.copy(merged.toPath(), fs.getPath("META-INF/${merged.name}"), StandardCopyOption.REPLACE_EXISTING)
140+
Files.copy(
141+
merged.toPath(),
142+
fs.getPath("META-INF/${merged.name}"),
143+
StandardCopyOption.REPLACE_EXISTING,
144+
)
141145
}
142146
}
143147
}

sentry-samples/sentry-samples-spring-boot-opentelemetry/build.gradle.kts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,11 @@ tasks.shadowJar {
133133
val uri = URI.create("jar:${jarFile.toURI()}")
134134
FileSystems.newFileSystem(uri, mapOf("create" to "false")).use { fs ->
135135
metaDir.listFiles()?.forEach { merged ->
136-
Files.copy(merged.toPath(), fs.getPath("META-INF/${merged.name}"), StandardCopyOption.REPLACE_EXISTING)
136+
Files.copy(
137+
merged.toPath(),
138+
fs.getPath("META-INF/${merged.name}"),
139+
StandardCopyOption.REPLACE_EXISTING,
140+
)
137141
}
138142
}
139143
}

sentry-samples/sentry-samples-spring-boot-webflux/build.gradle.kts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,11 @@ tasks.shadowJar {
106106
val uri = URI.create("jar:${jarFile.toURI()}")
107107
FileSystems.newFileSystem(uri, mapOf("create" to "false")).use { fs ->
108108
metaDir.listFiles()?.forEach { merged ->
109-
Files.copy(merged.toPath(), fs.getPath("META-INF/${merged.name}"), StandardCopyOption.REPLACE_EXISTING)
109+
Files.copy(
110+
merged.toPath(),
111+
fs.getPath("META-INF/${merged.name}"),
112+
StandardCopyOption.REPLACE_EXISTING,
113+
)
110114
}
111115
}
112116
}

sentry-samples/sentry-samples-spring-boot/build.gradle.kts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -141,11 +141,7 @@ tasks.shadowJar {
141141
FileSystems.newFileSystem(uri, env).use { fs ->
142142
metaDir.listFiles()?.forEach { merged ->
143143
val target = fs.getPath("META-INF/${merged.name}")
144-
Files.copy(
145-
merged.toPath(),
146-
target,
147-
StandardCopyOption.REPLACE_EXISTING,
148-
)
144+
Files.copy(merged.toPath(), target, StandardCopyOption.REPLACE_EXISTING)
149145
}
150146
}
151147
}

0 commit comments

Comments
 (0)