-
Notifications
You must be signed in to change notification settings - Fork 42
/
build.gradle
47 lines (39 loc) · 1.04 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
plugins {
id "org.springframework.boot" version "$LIB_SPRING_BOOT_VER" apply false
id "org.sonarqube" version "4.4.1.3373"
id "jacoco"
}
sonarqube {
properties {
property "sonar.projectKey", "graphql-java-kickstart_graphql-java-kickstart-samples"
property "sonar.organization", "graphql-java-kickstart"
property "sonar.host.url", "https://sonarcloud.io"
}
}
subprojects {
apply plugin: "java"
apply plugin: 'jacoco'
apply plugin: 'org.sonarqube'
group 'com.graphql-kickstart.samples'
version '0.0.1-SNAPSHOT'
repositories {
mavenLocal()
mavenCentral()
maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
}
compileJava {
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
}
test {
useJUnitPlatform()
}
jacocoTestReport {
reports {
xml.required = true
}
}
}
wrapper {
distributionType = Wrapper.DistributionType.ALL
}