-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
34 lines (28 loc) · 895 Bytes
/
build.gradle
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
26
27
28
29
30
31
32
33
apply plugin: 'java'
apply plugin: 'scala'
apply plugin: 'idea'
repositories {
mavenCentral()
}
dependencies {
compile 'com.google.code.findbugs:jsr305:1.3.9'
compile 'com.google.code.gson:gson:2.2.4'
compile 'com.google.guava:guava:16.0.1'
testCompile 'junit:junit:4.11'
testCompile 'org.scala-lang:scala-library:2.10.4'
testCompile 'org.scalatest:scalatest_2.10:2.1.3'
testCompile 'org.scalacheck:scalacheck_2.10:1.11.3'
}
compileTestScala {
scalaCompileOptions.additionalParameters = ["-unchecked", "-deprecation", "-feature",
"-language:implicitConversions", "-language:postfixOps", "-Xlint", "-Dscala.timings=true",
"-Ywarn-adapted-args", "-Ywarn-inaccessible", "-Ywarn-nullary-override", "-Ywarn-nullary-unit"]
scalaCompileOptions.fork = true
scalaCompileOptions.useAnt = false
}
test {
testLogging {
exceptionFormat 'full'
events 'skipped', 'standardError'
}
}