Skip to content

Commit

Permalink
Fix NPEs
Browse files Browse the repository at this point in the history
  • Loading branch information
mhalbritter committed Feb 15, 2024
1 parent d385b77 commit 4787f4d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ public BootJar() {
this.projectName = project.provider(project::getName);
this.projectVersion = project.provider(project::getVersion);
this.resolvedDependencies = new ResolvedDependencies(project);
this.sbomLocation = project.provider(() -> null);
}

private void configureBootInfSpec(CopySpec bootInfSpec) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ public BootWar() {
this.projectName = project.provider(project::getName);
this.projectVersion = project.provider(project::getVersion);
this.resolvedDependencies = new ResolvedDependencies(project);
this.sbomLocation = project.provider(() -> null);
}

private Object getProvidedLibFiles() {
Expand Down

0 comments on commit 4787f4d

Please sign in to comment.