-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
60 lines (42 loc) · 1.15 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
48
49
50
51
52
53
54
55
56
57
58
59
60
apply plugin: "java"
apply plugin: "maven"
apply plugin: "signing"
apply plugin: 'sonar-runner'
apply plugin: "jacoco"
sourceCompatibility = 1.8
targetCompatibility = 1.8
group = "eu.lestard"
version = "0.4.0"
apply from: "maven_upload.gradle"
repositories {
mavenCentral()
}
task wrapper(type: Wrapper) {
gradleVersion = '2.4'
}
dependencies {
compile "org.assertj:assertj-core:3.0.0"
// testing
testCompile "junit:junit:4.11"
}
javadoc.options.links("https://docs.oracle.com/javase/8/javafx/api",
"https://docs.oracle.com/javase/8/docs/api",
"https://joel-costigliola.github.io/assertj/core/api")
javadoc.exclude "**/internal/**"
allprojects {
gradle.projectsEvaluated {
tasks.withType(JavaCompile) {
options.compilerArgs << "-Xlint:unchecked"
}
}
}
jacoco {
toolVersion = "0.7.0.201403182114"
}
sonarRunner {
sonarProperties {
properties["sonar.libraries"] += System.env.'JAVA_HOME' + "/jre/lib/ext/jfxrt.jar"
property 'sonar.jacoco.reportPath', "${buildDir}/jacoco/test.exec"
property 'sonar.junit.reportsPath', "${buildDir}/test-results"
}
}