Prepare for gradle build system