This is an example of using custom Gradle distribution for projects with the same setup - we create a single custom distribution and use it everywhere.
- Build custom distribution
pushd custom-distribution; ./gradlew build; popd
- Run the client project
pushd client-project; ./gradlew bootRun; popd
- Call a web server server started by the client project and ensure that it works
curl 127.0.0.1:8080/ping Hi there!