diff --git a/client/build.gradle.kts b/client/build.gradle.kts index 2547d548..9cff678f 100644 --- a/client/build.gradle.kts +++ b/client/build.gradle.kts @@ -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) diff --git a/dedicated/build.gradle.kts b/dedicated/build.gradle.kts index d4a357ae..8717cd79 100644 --- a/dedicated/build.gradle.kts +++ b/dedicated/build.gradle.kts @@ -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)