Gradle build for server