This message was deleted.
# community-support
s
This message was deleted.
j
What does the tasks.gradle contain? You can try with
--stacktrace
and
--info
t
@John Bellini This is the line mentioned in the error(tasks.gradle)
This is the log I got after using --stacktract and --info
j
v
main
is deprecated and wrong anyway. You would need to specify the main class there and you are giving the jar as argument. The
javaExec
is aware of runnable jars. Just do not set
main
and set the jar as sole class path entry and it should work automatically.
Besides that you should not use
javaexec
here but a task of type
JavaExec
, not depend on
build
and not specify the jar path manually. Use a task of type
JavaExec
and set the task that builds the jar as class path entry, then you should get the needed task dependency automatically implicitly and it uses the output Jar of the task automatically.