-
Notifications
You must be signed in to change notification settings - Fork 0
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
LICENSE file is included in all assembled JAR files #64
Conversation
into(".") { | ||
from(rootProject.layout.projectDirectory.file("../LICENSE")) | ||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧐 New line
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
|
||
tasks.withType<Jar>().configureEach { | ||
from(file("../LICENSE")) { | ||
into("META-INF") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
❔ I saw Eric mentioning that the LICENSE file should be in the root of the JAR. But here it is not. Does it apply only to our Gradle deliverables?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, it applies to all, this was just missed...fixed it
No description provided.