use java plugin for gradle