how to export a executable jar in gradle, and this jar can run as it include reference libraries.
build.gradle
apply plugin: \'java\' manifest.mainA
You can achieve it with Gradle application plugin