"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/test/java/org/springframework/boot/gradle/junit/GradleProjectBuilder.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.

GradleProjectBuilder.java  (spring-boot-2.7.3):GradleProjectBuilder.java  (spring-boot-2.7.4)
skipping to change at line 71 skipping to change at line 71
public Project build() { public Project build() {
Assert.notNull(this.projectDir, "ProjectDir must not be null"); Assert.notNull(this.projectDir, "ProjectDir must not be null");
ProjectBuilder builder = ProjectBuilder.builder(); ProjectBuilder builder = ProjectBuilder.builder();
builder.withProjectDir(this.projectDir); builder.withProjectDir(this.projectDir);
File userHome = new File(this.projectDir, "userHome"); File userHome = new File(this.projectDir, "userHome");
builder.withGradleUserHomeDir(userHome); builder.withGradleUserHomeDir(userHome);
if (StringUtils.hasText(this.name)) { if (StringUtils.hasText(this.name)) {
builder.withName(this.name); builder.withName(this.name);
} }
if (JavaVersion.current().isCompatibleWith(JavaVersion.VERSION_17 )) { if (JavaVersion.current().isCompatibleWith(JavaVersion.VERSION_17 )) {
NativeServices.initialize(userHome); NativeServices.initializeOnClient(userHome);
try { try {
ProjectBuilderImpl.getGlobalServices(); ProjectBuilderImpl.getGlobalServices();
} }
catch (Throwable ignore) { catch (Throwable ignore) {
} }
} }
return builder.build(); return builder.build();
} }
} }
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

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