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- */
91
10- // Apply the java plugin to add support for Java
112apply plugin : ' java'
123apply plugin : ' maven'
134apply plugin : ' scala'
@@ -16,14 +7,10 @@ defaultTasks 'build'
167
178ext {
189 scalaVersion = " 2.10.+"
19- // scalaVersion = "2.9.+"
20-
2110 scalacheckVersion = " 1.10.+"
22- // scalacheckScalaVersion = "2.9.3"
2311 scalacheckScalaVersion = " 2.10"
2412}
2513
26-
2714tasks. withType(ScalaCompile ) {
2815 scalaCompileOptions. useAnt = false
2916}
@@ -41,24 +28,14 @@ jar {
4128 }
4229}
4330
44- // In this section you declare where to find the dependencies of your project
4531repositories {
46- // Use 'maven central' for resolving your dependencies.
47- // You can declare any Maven/Ivy/file repository here.
4832 mavenCentral()
4933}
5034
51- // In this section you declare the dependencies for your production and test code
5235dependencies {
53- // The production code uses the SLF4J logging API at compile time
5436 compile ' org.slf4j:slf4j-api:1.7.5'
5537 testCompile " org.scala-lang:scala-library:$scalaVersion "
5638 testCompile " org.scalacheck:scalacheck_$scalacheckScalaVersion :$scalacheckVersion "
5739
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.
6340 testCompile " junit:junit:4.11"
6441}
0 commit comments