Skip to content

Commit

Permalink
Update to Gradle 8.11
Browse files Browse the repository at this point in the history
  • Loading branch information
larsgrefer committed Nov 16, 2024
1 parent e953001 commit b79a2c1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ public void visitFile(@Nonnull FileVisitDetails fileVisitDetails) {

getLogger().error(sassError.getMessage());

throw getProblems().forNamespace("io.freefair.sass")
throw getProblems().getReporter()
.throwing(problemSpec -> problemSpec
.id("sass-compilation-failed", "Sass Compilation Failed")
.lineInFileLocation(sassError.getSpan().getUrl(), sassError.getSpan().getStart().getLine(), sassError.getSpan().getStart().getColumn())
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ private void logError(String element) {
errorFound = true;
getLogger().error("No {} found in {}", element, getPomFile().getAsFile().get());
getProblems()
.forNamespace("io.freefair.maven")
.getReporter()
.reporting(problem -> problem.id("maven-pom", "Missing Element in Maven Pom")
.fileLocation(getPomFile().getAsFile().get().getPath())
.details("No " + element + " found")
Expand Down

0 comments on commit b79a2c1

Please sign in to comment.