|
1 | | -/* |
2 | | - * This build file was auto generated by running the Gradle 'init' task |
3 | | - * by 'MarkPerry' at '12/12/13 10:02 AM' with Gradle 1.9 |
4 | | - * |
5 | | - * This generated file contains a sample Scala library project to get you started. |
6 | | - * For more details take a look at the Scala plugin chapter in the Gradle |
7 | | - * user guide available at http://gradle.org/docs/1.9/userguide/scala_plugin.html |
8 | | - */ |
9 | 1 |
|
10 | | -// Apply the scala plugin to add support for Scala |
11 | 2 | apply plugin: 'scala' |
12 | 3 |
|
13 | | - |
14 | 4 | ext { |
15 | 5 | scalaVersion = "2.10.3" |
16 | | - scalacheckVersion = "1.10.+" |
17 | | - scalacheckScalaVersion = "2.10" |
| 6 | + scalacheckScalaVersion = "2.10" |
| 7 | + scalacheckVersion = "1.10.1" |
| 8 | + scalatestScalaVersion= "2.10" |
| 9 | + scalatestVersion = "1.9.2" |
18 | 10 | } |
19 | 11 |
|
20 | | - |
21 | | - |
22 | 12 | tasks.withType(ScalaCompile) { |
23 | 13 | scalaCompileOptions.useAnt = false |
24 | 14 | } |
25 | 15 |
|
26 | | - |
27 | | -test { |
28 | | - scanForTestClasses = false |
29 | | - include '**/*Test.*' |
30 | | -} |
31 | | - |
32 | | -// In this section you declare where to find the dependencies of your project |
33 | | -repositories { |
34 | | - // Use 'maven central' for resolving your dependencies. |
35 | | - // You can declare any Maven/Ivy/file repository here. |
36 | | - mavenCentral() |
37 | | - mavenLocal() |
38 | | -} |
39 | | - |
40 | | - |
41 | 16 | dependencies { |
42 | 17 | compile project(":core") |
43 | | - compile 'org.slf4j:slf4j-api:1.7.5' |
| 18 | + compile "org.slf4j:slf4j-api:1.7.5" |
44 | 19 | compile "org.scala-lang:scala-library:$scalaVersion" |
| 20 | + |
45 | 21 | testCompile "org.scala-lang:scala-library:$scalaVersion" |
46 | 22 | testCompile "org.scalacheck:scalacheck_$scalacheckScalaVersion:$scalacheckVersion" |
47 | | - |
48 | 23 | testCompile "junit:junit:4.11" |
49 | | - testCompile 'org.scalatest:scalatest_2.10:1.9.2' |
50 | 24 | } |
0 commit comments