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

Remove run task dependency on getJavadocs #1518

Merged
merged 2 commits into from
May 7, 2024
Merged
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
9 changes: 4 additions & 5 deletions qupath-app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -108,11 +108,11 @@ dependencies {


/**
* Retrieve Javadocs of dependencies and sub-projects
* Copies the Javadoc jars to a directory for access within QuPath
*/
tasks.register("getJavadocs", Copy) {
tasks.register("assembleJavadocs", Copy) {
group = "documentation"
description = "Retrieve the Javadocs Jar of all dependencies and sub-projects"
description = "Copies the Javadoc jars to a directory for access within QuPath"
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
dependsOn rootProject.subprojects.tasks.collect {it.withType(Jar)}

Expand Down Expand Up @@ -153,8 +153,7 @@ tasks.register("getJavadocs", Copy) {
}
into layout.buildDirectory.dir("javadocs")
}
tasks.run.dependsOn("getJavadocs")
tasks.installDist.dependsOn("getJavadocs")
tasks.installDist.dependsOn("assembleJavadocs")

/**
* Create license report
Expand Down
Loading