I'm trying to create own Karaf shell command and I'm willing to do this using Gradle because entire project is on Gradle.
The only relevant documentation I've found so far is here http://karaf.apache.org/manual/latest/#_shell_commands and it says
See [examples/karaf-command-example] to add your own shell commands.
Examples are created using MAVEN and there is absolutely no description about what magic is happening there and what should appear in resulting bundle so that I could reproduce it in Gradle.
Can someone tell how to achieve the same in Gradle project?
How Karaf identifies which commands are present in Bundle?