-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
36 lines (30 loc) · 922 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
34
35
buildscript {
repositories {
jcenter()
maven {
url = "https://dl.bintray.com/ngbinh/maven"
}
maven {
url = "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath 'org.github.ngbinh.scalastyle:gradle-scalastyle-plugin_2.12:1.0.1'
classpath('gradle.plugin.org.scoverage:gradle-scoverage:2.2.0') {
// uncomment the following line to work around the issue:
// exclude module: 'scalac-scoverage-plugin_2.11'
}
}
}
apply plugin: 'scala'
apply plugin: 'scalaStyle'
apply plugin: org.scoverage.ScoveragePlugin
dependencies {
compile 'org.scala-lang:scala-library:2.12.6'
scoverage 'org.scoverage:scalac-scoverage-plugin_2.12:1.3.1', 'org.scoverage:scalac-scoverage-runtime_2.12:1.3.1'
}
scalaStyle {
configLocation = "$rootProject.projectDir/project/scalastyle_config.xml"
includeTestSourceDirectory = false
source = "src/main/scala"
}