"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/main/java/org/springframework/boot/gradle/tasks/buildinfo/BuildInfo.java" between
spring-boot-2.7.3.tar.gz and spring-boot-2.7.4.tar.gz

About: Spring Boot helps to create Spring-powered, production-grade applications and services.

BuildInfo.java  (spring-boot-2.7.3):BuildInfo.java  (spring-boot-2.7.4)
skipping to change at line 33 skipping to change at line 33
import org.gradle.api.Action; import org.gradle.api.Action;
import org.gradle.api.Project; import org.gradle.api.Project;
import org.gradle.api.Task; import org.gradle.api.Task;
import org.gradle.api.file.DirectoryProperty; import org.gradle.api.file.DirectoryProperty;
import org.gradle.api.internal.ConventionTask; import org.gradle.api.internal.ConventionTask;
import org.gradle.api.tasks.Nested; import org.gradle.api.tasks.Nested;
import org.gradle.api.tasks.OutputDirectory; import org.gradle.api.tasks.OutputDirectory;
import org.gradle.api.tasks.TaskAction; import org.gradle.api.tasks.TaskAction;
import org.gradle.api.tasks.TaskExecutionException; import org.gradle.api.tasks.TaskExecutionException;
import org.gradle.work.DisableCachingByDefault;
import org.springframework.boot.loader.tools.BuildPropertiesWriter; import org.springframework.boot.loader.tools.BuildPropertiesWriter;
import org.springframework.boot.loader.tools.BuildPropertiesWriter.ProjectDetail s; import org.springframework.boot.loader.tools.BuildPropertiesWriter.ProjectDetail s;
/** /**
* {@link Task} for generating a {@code build-info.properties} file from a * {@link Task} for generating a {@code build-info.properties} file from a
* {@code Project}. * {@code Project}.
* *
* @author Andy Wilkinson * @author Andy Wilkinson
* @since 2.0.0 * @since 2.0.0
*/ */
@DisableCachingByDefault(because = "Not worth caching")
public class BuildInfo extends ConventionTask { public class BuildInfo extends ConventionTask {
private final BuildInfoProperties properties = new BuildInfoProperties(ge tProject()); private final BuildInfoProperties properties = new BuildInfoProperties(ge tProject());
private final DirectoryProperty destinationDir; private final DirectoryProperty destinationDir;
public BuildInfo() { public BuildInfo() {
this.destinationDir = getProject().getObjects().directoryProperty () this.destinationDir = getProject().getObjects().directoryProperty ()
.convention(getProject().getLayout().getBuildDire ctory()); .convention(getProject().getLayout().getBuildDire ctory());
} }
 End of changes. 2 change blocks. 
0 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)