Skip to content

Instantly share code, notes, and snippets.

@dnene
Created January 17, 2012 03:39
Show Gist options
  • Save dnene/1624490 to your computer and use it in GitHub Desktop.
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
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
}
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