-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
74 lines (63 loc) · 2.2 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
plugins {
id "org.springframework.boot" version "3.3.4"
id "io.spring.dependency-management" version "1.1.6"
id 'org.graalvm.buildtools.native' version '0.10.3'
id 'java'
}
group = 'it.iacovelli'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = '21'
targetCompatibility = '21'
configurations {
compileOnly {
extendsFrom annotationProcessor
}
all {
exclude group: 'commons-logging', module: 'commons-logging'
}
}
graalvmNative {
binaries.all {
resources.autodetect()
}
}
repositories {
mavenCentral()
google()
gradlePluginPortal()
}
bootBuildImage {
environment = [
'BP_BINARY_COMPRESSION_METHOD': 'upx',
'BP_JVM_VERSION': '21',
]
}
dependencies {
implementation 'org.springframework.boot:spring-boot-starter-actuator'
//implementation 'org.springframework.boot:spring-boot-starter-security'
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'com.google.auth:google-auth-library-oauth2-http:1.19.0'
implementation ('com.google.firebase:firebase-admin:9.2.0') {
exclude group: 'com.google.firebase', module: 'google-cloud-firestore'
}
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
implementation 'org.springframework.cloud:spring-cloud-starter-circuitbreaker-resilience4j:3.1.2'
implementation 'org.springdoc:springdoc-openapi-starter-webmvc-ui:2.6.0'
implementation 'org.mapstruct:mapstruct:1.6.2'
annotationProcessor 'org.mapstruct:mapstruct-processor:1.6.2'
compileOnly 'org.projectlombok:lombok'
runtimeOnly "org.springframework.boot:spring-boot-properties-migrator"
developmentOnly 'org.springframework.boot:spring-boot-devtools'
testRuntimeOnly 'com.h2database:h2'
runtimeOnly 'org.postgresql:postgresql'
annotationProcessor 'org.springframework.boot:spring-boot-configuration-processor'
annotationProcessor 'org.projectlombok:lombok'
annotationProcessor 'org.projectlombok:lombok-mapstruct-binding:0.2.0'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
}
test {
systemProperty 'spring.profiles.active', 'gcp'
}
tasks.named('test') {
useJUnitPlatform()
}