I'm sorry if the title isn't clear, I have no idea about licences...
The thing is that I have created a little app for android targeted at developers. I want to get paid for the app, but I also want to share the code so others can modify it to improve it or to suit their needs.
I think this is somewhat close to minecraft way (sell and expect that everybody pays, but have no problem with people modifing the source, build mods, etc) and is pretty close to http://livereload.com/ way of distributing and licensing.
Maybe I should sell the app and give access to a private repo from the app itself (so, once you bought it, you get access to the source). Am I right? is this my best option?