Hi @ggeliso,
I am not sure what the concrete problem is, but here are some pointers that should help you:
- Consider using the
application
instead of the plainjava
plugin. Then Gradle will do all the work of creating the manifest and packaging the application for you - https://docs.gradle.org/current/userguide/application_plugin.html - If you absolutely need to do something manually, you should use
configurations.runtimeClasspath
instead ofconfigurations.runtime
(runtime is deprecated and might not always be complete).