-
Notifications
You must be signed in to change notification settings - Fork 4
/
build.gradle
72 lines (60 loc) · 1.72 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
plugins {
id 'eu.xenit.docker-compose' version '5.3.2' apply false
id "be.vbgn.ci-detect" version "0.5.0"
id "org.sonarqube" version "3.5.0.2730"
}
sonarqube {
properties {
property "sonar.projectKey", "xenit-eu_alfred-telemetry"
property "sonar.organization", "xenit-eu"
property "sonar.host.url", "https://sonarcloud.io"
}
}
allprojects {
group = 'eu.xenit.alfred.telemetry'
version = '0.10.1'
apply plugin: 'java'
apply plugin: 'jacoco'
compileJava {
options.release = 11
}
compileTestJava {
options.release = 11
}
jacocoTestReport {
reports {
xml.enabled true
html.enabled true
}
}
test.finalizedBy jacocoTestReport
rootProject.tasks.sonarqube.dependsOn jacocoTestReport
boolean isRelease = ci.branch?.startsWith("release")
if (!isRelease) {
version += "-SNAPSHOT"
}
ext {
micrometerVersion = '1.0.6'
jvmExtrasVersion = '0.1.2'
junitJupiterVersion = '5.4.2'
mockitoVersion = '4.5.1'
byteBuddyVersion = '1.14.6'
hamcrestVersion = '1.3'
awaitilityVersion = '4.1.0'
restAssuredVersion = '5.3.0'
}
repositories {
mavenCentral()
maven {
url 'https://artifacts.alfresco.com/nexus/content/groups/public'
}
maven {
url 'https://artifacts.alfresco.com/nexus/content/groups/private'
credentials {
username project.property('org.alfresco.maven.nexus.username')
password project.property('org.alfresco.maven.nexus.password')
}
}
}
apply from: "${rootProject.projectDir}/publish.gradle"
}