Update build scripts for idea gradle task