Skip to content

Instantly share code, notes, and snippets.

@masahitojp
Last active November 4, 2017 03:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save masahitojp/f05c1295e90c804be770c447a9bd8a58 to your computer and use it in GitHub Desktop.
Save masahitojp/f05c1295e90c804be770c447a9bd8a58 to your computer and use it in GitHub Desktop.
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