-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
69 lines (54 loc) · 1.57 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
plugins {
id 'java-library'
id "jacoco"
// id 'io.quarkus' version "$quarkusVersion" apply false
id "org.sonarqube" version "3.4.0.2513"
// id "io.quarkus.extension" version "$quarkusPluginVersion"// apply false
// id 'maven-publish' //apply false
}
allprojects {
repositories {
maven{
url "$MAVEN_REPO"
credentials(HttpHeaderCredentials) {
name = "X-JFrog-Art-API"
value = System.getenv("JCR_TOKEN" )?:"$JCR_TOKEN"
}
authentication {
header(HttpHeaderAuthentication)
}
}
maven {
url 'https://maven.aliyun.com/repository/public/'
}
mavenCentral()
}
}
subprojects {
apply plugin: 'java-library'
apply plugin: 'jacoco'
group = "$group"
version = "$version"
sourceCompatibility = "11"
targetCompatibility = "11"
//JavaVersion.VERSION_17
compileJava {
options.encoding = 'UTF-8'
options.compilerArgs << '-parameters'
}
test {
// useJUnitPlatform()
// systemProperty "java.util.logging.manager", "org.jboss.logmanager.LogManager"
systemProperty "jdbc.host" , "mysql-junit.infra"
systemProperty "quarkus.log.level","DEBUG"
finalizedBy jacocoTestReport
}
jacocoTestReport {
reports {
xml.required = true
// html.outputLocation = layout.buildDirectory.dir('jacocoHtml')
}
}
// gradle allDeps > dep.txt
task allDeps(type: DependencyReportTask) {}
}