Merge branch '3.2.x'
Closes gh-41080
This commit is contained in:
@@ -93,7 +93,7 @@ public class SpringBootExtension {
|
||||
tasks.named(JavaPlugin.CLASSES_TASK_NAME).configure((task) -> task.dependsOn(bootBuildInfo));
|
||||
bootBuildInfo.configure((buildInfo) -> buildInfo.getProperties()
|
||||
.getArtifact()
|
||||
.convention(this.project.provider(() -> determineArtifactBaseName())));
|
||||
.convention(this.project.provider(this::determineArtifactBaseName)));
|
||||
});
|
||||
if (configurer != null) {
|
||||
bootBuildInfo.configure(configurer);
|
||||
|
||||
@@ -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.
|
||||
@@ -152,7 +152,7 @@ public class SpringBootAotPlugin implements Plugin<Project> {
|
||||
task.getClassesOutput()
|
||||
.set(project.getLayout().getBuildDirectory().dir("generated/" + sourceSet.getName() + "Classes"));
|
||||
task.getGroupId().set(project.provider(() -> String.valueOf(project.getGroup())));
|
||||
task.getArtifactId().set(project.provider(() -> project.getName()));
|
||||
task.getArtifactId().set(project.provider(project::getName));
|
||||
configureToolchainConvention(project, task);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user