Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[eclipse] include LICENSE and NOTICE file in every jar #95

Open
MoritzKeppler opened this issue Jun 21, 2021 · 0 comments
Open

[eclipse] include LICENSE and NOTICE file in every jar #95

MoritzKeppler opened this issue Jun 21, 2021 · 0 comments

Comments

@MoritzKeppler
Copy link
Collaborator

Eclipse requires LICENSE and NOTICE file to be included in every software artifact that gets distributed.
Suggest to include those file in every jar, even if we just distribute those as part of the fat jar inside the docker container.
see https://www.eclipse.org/projects/handbook/#legaldoc-distribution

something like that inside build.gradle allprojects section should solve it:

tasks.jar {
            metaInf {
                from("${rootProject.projectDir.path}/LICENSE")
            }
        }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant