Create a gist now

Instantly share code, notes, and snippets.

Embed
What would you like to do?
minimum scala compile settings for gradle-scala
apply plugin: 'scala'
repositories {
mavenCentral()
}
dependencies {
compile 'org.scala-lang:scala-library:2.12.+'
}
object HelloWorld {
def main(args: Array[String]): Unit = {
println("Hello, world!")
}
}
.
├── build.gradle
└── src
└── main
└── scala
└── Main.scala
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment