forked from scoverage/sbt-scoverage-samples
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
41 lines (33 loc) · 1.25 KB
/
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
34
35
36
37
38
39
40
41
// gradle defaults to 'build' but use the same working directory as maven and sbt
buildDir = file('target')
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath 'com.github.maiflai:gradle-scalatest:0.5', 'org.scoverage:gradle-scoverage:1.0-5-g9c68988'
}
}
apply plugin: 'scala'
apply plugin: 'scalatest'
apply plugin: 'scoverage'
repositories {
mavenCentral()
}
ext {
scalaBinaryVersion = '2.11'
scalaVersion = '2.11.4'
scoverageVersion = '1.0.2'
akkaVersion = '2.3.2'
}
dependencies {
scoverage "org.scoverage:scalac-scoverage-plugin_${scalaBinaryVersion}:${scoverageVersion}",
"org.scoverage:scalac-scoverage-runtime_${scalaBinaryVersion}:${scoverageVersion}"
compile "org.scala-lang:scala-library:${scalaVersion}", "org.scala-lang:scala-reflect:${scalaVersion}"
compile 'commons-io:commons-io:2.4'
compile "com.typesafe.akka:akka-actor_${scalaBinaryVersion}:${akkaVersion}"
compile "com.typesafe.scala-logging:scala-logging-slf4j_${scalaBinaryVersion}:2.1.2"
testCompile "org.scalatest:scalatest_${scalaBinaryVersion}:2.1.6"
testCompile "com.typesafe.akka:akka-actor-tests_${scalaBinaryVersion}:${akkaVersion}"
testRuntime 'org.pegdown:pegdown:1.1.0'
}