diff --git a/buildSrc/src/main/groovy/io.deephaven.java-conventions.gradle b/buildSrc/src/main/groovy/io.deephaven.java-conventions.gradle index 6ad4cb343a8..b72fa1c143f 100644 --- a/buildSrc/src/main/groovy/io.deephaven.java-conventions.gradle +++ b/buildSrc/src/main/groovy/io.deephaven.java-conventions.gradle @@ -145,9 +145,12 @@ plugins.withType(ApplicationPlugin) { } } tasks.withType(CreateStartScripts).configureEach { - inputs.properties(['scriptVers': Math.random()]) - windowsStartScriptGenerator.template = resources.text.fromUri(getClass().classLoader.getResource('windowsStartScript.txt')) - unixStartScriptGenerator.template = resources.text.fromUri(getClass().classLoader.getResource('unixStartScript.txt')) + def windowsStartScript = resources.text.fromUri(getClass().classLoader.getResource('windowsStartScript.txt')) + def unixStartScript = resources.text.fromUri(getClass().classLoader.getResource('unixStartScript.txt')) + inputs.files windowsStartScript + inputs.files unixStartScript + windowsStartScriptGenerator.template = windowsStartScript + unixStartScriptGenerator.template = unixStartScript // Note that we don't call c2ExcludesJvmArgs() at this time, there is no way to template those strings. // Instead, we hard code the expected paths in the above templates to match the path lib/dh-compiler-directives.txt // defaultJvmOpts += c2ExcludesJvmArgs(c2ExcludesFile.singleFile.path)