Polish formatting
This commit is contained in:
parent
6ebc9b887e
commit
c98363d016
|
|
@ -57,8 +57,9 @@ public abstract class PrepareMavenBinaries extends DefaultTask {
|
||||||
this.fileSystemOperations.sync((sync) -> {
|
this.fileSystemOperations.sync((sync) -> {
|
||||||
sync.into(getOutputDir());
|
sync.into(getOutputDir());
|
||||||
for (String version : getVersions().get()) {
|
for (String version : getVersions().get()) {
|
||||||
Configuration configuration = getProject().getConfigurations().detachedConfiguration(
|
Configuration configuration = getProject().getConfigurations()
|
||||||
getProject().getDependencies().create("org.apache.maven:apache-maven:" + version + ":bin@zip"));
|
.detachedConfiguration(getProject().getDependencies()
|
||||||
|
.create("org.apache.maven:apache-maven:" + version + ":bin@zip"));
|
||||||
sync.from(this.archiveOperations.zipTree(configuration.getSingleFile()));
|
sync.from(this.archiveOperations.zipTree(configuration.getSingleFile()));
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue