Updated gradle script to use Resonant Engine dev if compiling RI dev and master for main.