mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-07-05 00:56:58 +08:00
Merge branch '3.1.x' into 3.2.x
Closes gh-40544
This commit is contained in:
commit
023c104434
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright 2012-2023 the original author or authors.
|
||||
* Copyright 2012-2024 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -33,6 +33,8 @@ import org.gradle.api.plugins.JavaPlugin;
|
|||
import org.gradle.api.publish.PublishingExtension;
|
||||
import org.gradle.api.publish.maven.plugins.MavenPublishPlugin;
|
||||
|
||||
import org.springframework.util.FileSystemUtils;
|
||||
|
||||
/**
|
||||
* A plugin to make a project's {@code deployment} publication available as a Maven
|
||||
* repository. The repository can be consumed by depending upon the project using the
|
||||
|
@ -112,7 +114,7 @@ public class MavenRepositoryPlugin implements Plugin<Project> {
|
|||
|
||||
@Override
|
||||
public void execute(Task task) {
|
||||
task.getProject().delete(this.location);
|
||||
FileSystemUtils.deleteRecursively(this.location);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user