Skip to content

Commit

Permalink
[4.11] Improve Third Party License Generation (#328)
Browse files Browse the repository at this point in the history
* add clean task to remove old license folder before downloading the new licenses to avoid old licenses to show up

* improve clean dependency
  • Loading branch information
DC2-DanielKrueger authored Dec 12, 2022
1 parent 39fa0f1 commit f2b5381
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -429,6 +429,10 @@ downloadLicenses {
dependencyConfiguration = "runtimeClasspath"
}

tasks.downloadLicenses {
dependsOn(tasks.clean)
}

val updateThirdPartyLicenses by tasks.registering {
group = "license"
dependsOn(tasks.downloadLicenses)
Expand Down

0 comments on commit f2b5381

Please sign in to comment.