aboutsummaryrefslogtreecommitdiff
path: root/template/groovy/base-gradle-scala.gradle
blob: ce284d00699d0c12a81584124d3eb59ac962d06d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
apply {
    plugin 'scala'
    plugin 'eclipse'
    plugin 'idea'
}

ext {
    scalaVersion = '2.10'
    specs2Version = '2.3.8'
}

repositories {
    mavenCentral()
}

tasks.withType(ScalaCompile) {
    scalaCompileOptions.useCompileDaemon = false
    scalaCompileOptions.useAnt = false
}

dependencies {
    compile "org.scala-lang:scala-library:$scalaVersion.+"
    testCompile "org.specs2:specs2_$scalaVersion:$specs2Version"
    {{_cursor_}}
}