kaikramer / keystore-explorer

KeyStore Explorer is a free GUI replacement for the Java command-line utilities keytool and jarsigner.
https://keystore-explorer.org/
GNU General Public License v3.0
1.7k stars 275 forks source link

Allow running the application directly with './gradlew run' command #233

Closed pdecat closed 4 years ago

pdecat commented 4 years ago

This PRs simplifies running the application directly from a fresh clone without having to package the application using the gradle Application Plugin: https://docs.gradle.org/current/userguide/application_plugin.html

Without this change, the ./gradlew run command would fail with the following error message:

# ./gradlew run
> Task :run FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':run'.
> No main class specified and classpath is not an executable jar.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.4/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 631ms
3 actionable tasks: 1 executed, 2 up-to-date
kaikramer commented 4 years ago

Thanks for the PR!