Development mode, live reload and libs

Yes, it’s read from build folder and source folder (by default). The gradle-plugin sets a X-SOURCE-DIRS header that the XP server looks for in dev-mode. You can tweak this one if you want. Just build your project and look at MANIFEST.MF file to see what values are set.