Running Desktop app

Trying to test compose for desktop so I generated standard template and trying to run it.
It run smoothly from the IDE, but how can I run it without IDE.

Tried to use java -jar myapp-1.0.jar but got: no main manifest attribute, in myapp-1.0.jar

I found it, my mistake was building it from Build -> Build Project , While it should be built from gradle side menu command package, where binaries based on the assigned targetFormats(...) will be created.

Then one you run the binary, installer is running and executable file and supported files are created in the selected folder.