1
- /*
2
- * This build file was auto generated by running the Gradle 'buildSetup' task
3
- * by 'MarkPerry' at '19/11/13 10:51 AM' with Gradle 1.8
4
- *
5
- * This generated file contains a sample Java project to get you started.
6
- * For more details take a look at the Java Quickstart chapter in the Gradle
7
- * user guide available at http://gradle.org/docs/1.8/userguide/tutorial_java_projects.html
8
- */
9
1
10
- // Apply the java plugin to add support for Java
11
2
apply plugin : ' java'
12
3
apply plugin : ' maven'
13
4
apply plugin : ' scala'
@@ -16,14 +7,10 @@ defaultTasks 'build'
16
7
17
8
ext {
18
9
scalaVersion = " 2.10.+"
19
- // scalaVersion = "2.9.+"
20
-
21
10
scalacheckVersion = " 1.10.+"
22
- // scalacheckScalaVersion = "2.9.3"
23
11
scalacheckScalaVersion = " 2.10"
24
12
}
25
13
26
-
27
14
tasks. withType(ScalaCompile ) {
28
15
scalaCompileOptions. useAnt = false
29
16
}
@@ -41,24 +28,14 @@ jar {
41
28
}
42
29
}
43
30
44
- // In this section you declare where to find the dependencies of your project
45
31
repositories {
46
- // Use 'maven central' for resolving your dependencies.
47
- // You can declare any Maven/Ivy/file repository here.
48
32
mavenCentral()
49
33
}
50
34
51
- // In this section you declare the dependencies for your production and test code
52
35
dependencies {
53
- // The production code uses the SLF4J logging API at compile time
54
36
compile ' org.slf4j:slf4j-api:1.7.5'
55
37
testCompile " org.scala-lang:scala-library:$scalaVersion "
56
38
testCompile " org.scalacheck:scalacheck_$scalacheckScalaVersion :$scalacheckVersion "
57
39
58
-
59
- // Declare the dependency for your favourite test framework you want to use in your tests.
60
- // TestNG is also supported by the Gradle Test task. Just change the
61
- // testCompile dependency to testCompile 'org.testng:testng:6.8.1' and add
62
- // 'test.useTestNG()' to your build script.
63
40
testCompile " junit:junit:4.11"
64
41
}
0 commit comments