Last active
November 4, 2017 03:42
-
-
Save masahitojp/f05c1295e90c804be770c447a9bd8a58 to your computer and use it in GitHub Desktop.
minimum scala compile settings for gradle-scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apply plugin: 'scala' | |
repositories { | |
mavenCentral() | |
} | |
dependencies { | |
compile 'org.scala-lang:scala-library:2.12.+' | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
object HelloWorld { | |
def main(args: Array[String]): Unit = { | |
println("Hello, world!") | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
. | |
├── 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