forked from ClustProject/WSAutoMLMainWeb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
76 lines (63 loc) · 1.86 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath "org.sonarsource.scanner.gradle:sonarqube-gradle-plugin:3.0"
}
}
subprojects {
apply plugin: 'java'
apply plugin: 'org.sonarqube'
apply plugin: 'jacoco'
group = 'kr.or.automl'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = '17'
repositories {
mavenCentral()
}
test {
useJUnitPlatform()
finalizedBy 'jacocoTestReport'
}
jacoco {
toolVersion = "0.8.7"
}
jacocoTestReport {
reports {
xml.enabled true
csv.enabled false
html.enabled true
}
}
sonarqube {
properties {
property "sonar.projectKey", "WS-AutoML"
property "sonar.host.url", "http://localhost:9000"
property "sonar.token", "sqp_9cda0c2c8f21e84f1e15d27043ae28af7ba70fe1"
property "sonar.sources", "src"
property "sonar.language", "java"
property "sonar.sourceEncoding", "UTF-8"
property "sonar.test.inclusions", "**/*Test.java"
property "sonar.coverage.exclusions",
"**/App.java, " +
"**/dto/**, " +
"**/exceptions/**, " +
"**/converter/**, " +
"**/testFixtures/**"
property 'sonar.coverage.jacoco.xmlReportPaths', "${buildDir}/reports/jacoco/test/jacocoTestReport.xml"
}
}
}
project(':app:admin-server') {
dependencies {
implementation project(':app:common')
testImplementation(testFixtures(project(":app:common")))
}
}
project(':app:user-server') {
dependencies {
implementation project(':app:common')
testImplementation(testFixtures(project(":app:common")))
}
}