update plugin to use gradle build
move plugin descriptor
fix exceptions