Thanks… but I don’t seem to have made myself clear.
Your suggestion means putting a build.gradle file in the place where you have done your installDist to… there is no build.gradle file there… and, for a laugh, I just tried copying the gradle.build from the “development” location to the “production” location (i.e. the /lib dir or /bin - I tried both).
$ gradle run
$ gradle run
Starting a Gradle Daemon, 3 busy Daemons could not be reused, use --status for details
:compileJava NO-SOURCE
:compileGroovy NO-SOURCE
:processResources NO-SOURCE
:classes UP-TO-DATE
:runError: Could not find or load main class core.ConsoleHandler
FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':run'.
> Process 'command 'D:\apps\Java\jdk1.8.0_121\bin\java.exe'' finished with non-zero exit value 1
… you’d need a different type of build file … with a different type of Task
… making this into another, specific question!