-
-
Notifications
You must be signed in to change notification settings - Fork 70
Open
Description
If I configure licenseReport to be a dependency of build, processResources, or compileKotlin, then the generated reports are empty if I run any task that directly or implicitly depends on licenseReport. This does not happen if I run the licenseReport task individually.
Ultimately, I need the reports to be present before the shadowJar task and ideally before compileKotlin so I can unit test the reports. Any idea how this can be done?
tasks.withType<ProcessResources> {
dependsOn("licenseReport")
from ("build/reports/licenses") {
into("public/oss")
}
}This is a jpackaged desktop application, so the typical android workflow isn't going to work. I already use this strategy to include the assets of an SPA from a neighboring module, which works perfectly.
Kuba15 and sh-dima
Metadata
Metadata
Assignees
Labels
No labels