Gradle Build containing sample Scala project built in intellij idea and running from console as well