Skip to content
This repository was archived by the owner on Apr 1, 2025. It is now read-only.
This repository was archived by the owner on Apr 1, 2025. It is now read-only.

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

@MoritzKeppler

Description

@MoritzKeppler

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")
            }
        }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions