Gradle script and main class