-
Notifications
You must be signed in to change notification settings - Fork 27
/
build.gradle
80 lines (66 loc) · 1.49 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
77
78
79
80
buildscript {
repositories {
mavenCentral()
}
}
plugins {
id 'com.github.ben-manes.versions' version '0.51.0'
id 'io.github.gradle-nexus.publish-plugin' version '2.0.0'
id 'io.spring.dependency-management' version '1.1.6'
id 'org.sonarqube' version '4.0.0.2929'
id 'pl.allegro.tech.build.axion-release' version '1.18.4'
id 'publishing'
}
repositories {
mavenCentral()
}
scmVersion {
tag {
prefix = ''
}
}
group = 'com.epages'
allprojects {
project.version = scmVersion.version
}
subprojects {
apply plugin: 'io.spring.dependency-management'
apply plugin: 'jacoco'
apply plugin: 'java'
apply plugin: 'maven-publish'
apply plugin: 'signing'
repositories {
mavenCentral()
}
sourceCompatibility = JavaVersion.VERSION_21
targetCompatibility = JavaVersion.VERSION_21
task sourceJar(type: Jar) {
from sourceSets.main.allJava
}
java {
withSourcesJar()
withJavadocJar()
}
javadoc {
options.addStringOption('Xdoclint:none', '-quiet')
}
jacocoTestReport {
reports {
xml.required = true
html.required = true
}
}
test.finalizedBy jacocoTestReport
}
nexusPublishing {
repositories {
sonatype ()
}
}
sonarqube {
properties {
property "sonar.projectKey", "ePages-de_restdocs-wiremock"
property "sonar.organization", "epages-de"
property "sonar.host.url", "https://sonarcloud.io"
}
}