Skip to content

Commit

Permalink
Rebuild on dependency change
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexProgrammerDE committed Oct 25, 2024
1 parent 57c1251 commit 799e555
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions client/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,9 @@ fun Manifest.applySFAttributes() {

tasks {
val generateDependencyList = register("generateDependencyList") {
dependsOn(configurations.runtimeClasspath)
inputs.files(configurations.runtimeClasspath)

val outputFile = layout.buildDirectory.file("dependency-list.txt")
outputs.file(outputFile)

Expand Down
3 changes: 3 additions & 0 deletions dedicated/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@ fun Manifest.applySFAttributes() {

tasks {
val generateDependencyList = register("generateDependencyList") {
dependsOn(configurations.runtimeClasspath)
inputs.files(configurations.runtimeClasspath)

val outputFile = layout.buildDirectory.file("dependency-list.txt")
outputs.file(outputFile)

Expand Down

0 comments on commit 799e555

Please sign in to comment.