Gradle script update to make it work with gui plugin