rewrite sidjp djpcm bridge using gradle