Created
January 17, 2012 03:39
-
-
Save dnene/1624490 to your computer and use it in GitHub Desktop.
Using gradle for build and release management with Scala and Java - Part 1. Accompanying code
This file contains hidden or 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: 'eclipse' | |
apply plugin: 'scala' | |
scalaVersion = '2.9.1' | |
repositories { | |
mavenCentral() | |
} | |
dependencies { | |
// Libraries needed to run the scala tools | |
scalaTools 'org.scala-lang:scala-compiler:' + scalaVersion, | |
'org.scala-lang:scala-library:' + scalaVersion | |
// Libraries needed for scala api | |
compile 'org.scala-lang:scala-library:' + scalaVersion | |
} |
This file contains hidden or 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
package in.vayana.blog.gradle_demo | |
object GradleDemo { | |
def main(args: Array[String]) = { | |
println("hello world!") | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment