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

Fix LICENSE file packaging in the JAR #82

Merged
merged 1 commit into from
Oct 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ tasks.jar {
from(sourceSetOutput("compatibilityApi"))
from(sourceSetOutput("enterpriseCompatibility"))
from(sourceSetOutput("develocityCompatibility"))
into(".") {
from(rootProject.layout.projectDirectory.file("LICENSE"))
}
}

val javaComponent = components["java"] as AdhocComponentWithVariants
Expand Down
6 changes: 0 additions & 6 deletions develocity-gradle-plugin-adapters/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,3 @@ develocityAdaptersPublication {
name = "Develocity Gradle API adapters for Develocity and Gradle Enterprise Gradle plugins"
guylabs marked this conversation as resolved.
Show resolved Hide resolved
description = "Adapter interfaces for interacting with the Develocity and Gradle Enterprise Gradle plugins"
}

tasks.withType<Jar>().configureEach {
into(".") {
from(rootProject.layout.projectDirectory.file("../LICENSE"))
}
}
6 changes: 0 additions & 6 deletions develocity-maven-extension-adapters/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,3 @@ develocityAdaptersPublication {
name = "Develocity API adapters for Develocity and Gradle Enterprise Maven extensions"
description = "Adapter interfaces for interacting with the Develocity and Gradle Enterprise Maven extension APIs"
}

tasks.withType<Jar>().configureEach {
into(".") {
from(rootProject.layout.projectDirectory.file("../LICENSE"))
}
}