File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff 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/" )
You can’t perform that action at this time.
0 commit comments