File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
buildSrc/src/main/java/org/springframework/boot/build Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2012-2023 the original author or authors.
2
+ * Copyright 2012-2024 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
33
33
import org .gradle .api .publish .PublishingExtension ;
34
34
import org .gradle .api .publish .maven .plugins .MavenPublishPlugin ;
35
35
36
+ import org .springframework .util .FileSystemUtils ;
37
+
36
38
/**
37
39
* A plugin to make a project's {@code deployment} publication available as a Maven
38
40
* repository. The repository can be consumed by depending upon the project using the
@@ -112,7 +114,7 @@ private CleanAction(File location) {
112
114
113
115
@ Override
114
116
public void execute (Task task ) {
115
- task . getProject (). delete (this .location );
117
+ FileSystemUtils . deleteRecursively (this .location );
116
118
}
117
119
118
120
}
You can’t perform that action at this time.
0 commit comments