-
Notifications
You must be signed in to change notification settings - Fork 9
/
build.gradle
75 lines (64 loc) · 1.81 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
/*
* This file was generated by the Gradle 'init' task.
*
* This project uses @Incubating APIs which are subject to change.
*/
plugins {
id 'java'
id 'org.springframework.boot' version '3.4.1'
id "org.sonarqube" version "6.0.1.5171"
id 'org.graalvm.buildtools.native' version '0.10.4'
}
repositories {
mavenLocal()
maven {
url = uri('https://repo.maven.apache.org/maven2/')
}
}
dependencies {
implementation libs.org.springframework.boot.spring.boot.starter.web
implementation libs.org.springframework.boot.spring.boot.starter.web.services
implementation libs.org.springframework.boot.spring.boot.starter.actuator
implementation libs.org.springdoc.springdoc.openapi.starter.webmvc.ui
implementation libs.org.projectlombok.lombok
implementation libs.org.yaml.snakeyaml
testImplementation libs.org.springframework.boot.spring.boot.starter.test
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
}
group = 'springboot-starterkit'
version = '1.3.0'
java {
toolchain {
languageVersion = JavaLanguageVersion.of(23)
}
}
tasks.named('test') {
useJUnitPlatform()
}
sonar {
properties {
property "sonar.projectKey", "josephrodriguez_springboot-starterkit"
property "sonar.organization", "josephrodriguez"
property "sonar.host.url", "https://sonarcloud.io"
}
}
graalvmNative {
binaries {
main {
imageName = 'springboot-starterkit'
buildArgs = ['--no-fallback']
}
}
}
tasks.withType(JavaCompile).configureEach {
options.encoding = 'UTF-8'
}
tasks.withType(Javadoc).configureEach {
options.encoding = 'UTF-8'
}
if (hasProperty('buildScan')) {
buildScan {
termsOfServiceUrl = 'https://gradle.com/terms-of-service'
termsOfServiceAgree = 'yes'
}
}