Skip to content

Commit 0853b5d

Browse files
authored
fix: autodoc publication manifest registration (#356)
1 parent b1115de commit 0853b5d

File tree

1 file changed

+2
-2
lines changed
  • plugins/autodoc/autodoc-plugin/src/main/java/org/eclipse/edc/plugins/autodoc

1 file changed

+2
-2
lines changed

plugins/autodoc/autodoc-plugin/src/main/java/org/eclipse/edc/plugins/autodoc/AutodocPlugin.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,9 @@ public void apply(Project project) {
6565
});
6666

6767
project.afterEvaluate(p -> {
68-
var manifestFile = p.getLayout().getBuildDirectory().file("edc.json");
68+
var manifestFile = p.getLayout().getBuildDirectory().file("edc.json").get().getAsFile();
6969

70-
if (!manifestFile.isPresent()) {
70+
if (!manifestFile.exists()) {
7171
return;
7272
}
7373

0 commit comments

Comments
 (0)