-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
55 lines (44 loc) · 1.23 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
plugins {
id 'java-library'
id 'io.freefair.lombok' version '8.6'
id 'jacoco'
id 'org.sonarqube'
}
apply from: "${rootDir}/gradle/publish.gradle"
java {
toolchain {
languageVersion = JavaLanguageVersion.of(17)
}
withSourcesJar()
withJavadocJar()
}
jacocoTestReport {
reports {
xml.required = true
}
}
sonarqube {
properties {
property "sonar.projectKey", "xenit-eu_java-hateoas-hal-client"
property "sonar.organization", "xenit-eu"
property "sonar.host.url", "https://sonarcloud.io"
}
}
test {
useJUnitPlatform()
}
repositories {
mavenCentral()
}
dependencies {
implementation platform("org.springframework.boot:spring-boot-dependencies:3.3.0")
implementation 'com.fasterxml.jackson.core:jackson-databind'
implementation 'org.slf4j:slf4j-api'
implementation 'org.springframework:spring-web'
implementation 'org.springframework.hateoas:spring-hateoas'
implementation 'org.springframework:spring-test'
testImplementation 'org.junit.jupiter:junit-jupiter'
testImplementation 'org.assertj:assertj-core'
testRuntimeOnly 'org.slf4j:slf4j-simple:2.0.13'
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
}