-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathbuild.gradle
64 lines (53 loc) · 1.58 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
plugins {
id 'eu.xenit.docker-compose' version '5.5.0' 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 = '1.0.0'
apply plugin: 'java'
apply plugin: 'jacoco'
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.10.2'
mockitoVersion = '5.11.0'
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"
}