-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathbuild.gradle
47 lines (37 loc) · 1.12 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
42
43
44
45
46
47
apply plugin: "java"
repositories {
jcenter()
}
task copyLibs(type: Copy) {
into "${buildDir}/libs"
from configurations.runtime
}
task copyTestLibs(type: Copy) {
into "${buildDir}/test"
from configurations.testCompile
}
task copyPlugins(type: Copy) {
into "${buildDir}/plugins"
from configurations.testCompile
include "sonar-*-plugin*.jar"
}
task infra(dependsOn: ["copyLibs", "copyTestLibs", "jar"])
test.dependsOn(copyPlugins)
dependencies {
compile("org.sonarsource.sonarlint.core:sonarlint-core:2.17.0.899")
compile("org.sonarsource.sonarlint.core:sonarlint-client-api:2.17.0.899")
compile("org.sonarsource.sonarlint:sonarlint-cli:2.1.0.566")
compile("com.google.code.gson:gson:2.8.2")
// Plugins
testCompile("org.sonarsource.java:sonar-java-plugin:4.14.0.11784")
testCompile("org.assertj:assertj-core:2.8.0")
testCompile("org.skyscreamer:jsonassert:1.5.0")
testCompile("junit:junit:4.12")
}
test {
outputs.upToDateWhen { false }
testLogging {
events "passed", "skipped", "failed", "standardOut", "standardError"
exceptionFormat "full"
}
}