Skip to content

Commit 7465c8d

Browse files
feat: add DEPENDENCIES file to jars (#165)
1 parent af36bd7 commit 7465c8d

File tree

1 file changed

+2
-1
lines changed
  • plugins/edc-build/src/main/java/org/eclipse/edc/plugins/edcbuild/conventions

1 file changed

+2
-1
lines changed

plugins/edc-build/src/main/java/org/eclipse/edc/plugins/edcbuild/conventions/JarConvention.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ public void apply(Project target) {
3131
var rootProjectPath = target.getRootProject().getProjectDir().getAbsolutePath();
3232
var licenseFile = Path.of(rootProjectPath, "LICENSE");
3333
var noticeFile = Path.of(rootProjectPath, "NOTICE.md");
34-
jarTask.metaInf(metaInf -> metaInf.from(licenseFile.toString(), noticeFile.toString()));
34+
var dependenciesFile = Path.of(rootProjectPath, "DEPENDENCIES");
35+
jarTask.metaInf(metaInf -> metaInf.from(licenseFile.toString(), noticeFile.toString(), dependenciesFile.toString()));
3536
}
3637
}
3738
}

0 commit comments

Comments
 (0)