-
Notifications
You must be signed in to change notification settings - Fork 23
/
build.gradle
84 lines (75 loc) · 2.96 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
81
82
83
84
buildscript {
ext {
springBootVersion = '2.6.6'
springDependencyVersion = '1.0.11.RELEASE'
springDocVersion = '1.6.6'
}
}
plugins {
id 'org.springframework.boot' version "${springBootVersion}"
id 'io.spring.dependency-management' version "${springDependencyVersion}"
id 'java'
id 'io.gatling.gradle' version "3.7.6"
}
group = 'pl.gov.coi.pomocua'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = '17'
configurations {
compileOnly {
extendsFrom annotationProcessor
}
}
repositories {
mavenCentral()
}
ext {
set('testcontainersVersion', "1.16.2")
set('springdocVersion', "1.6.6")
set('keycloakVersion', "15.0.2")
set('hibernateEnversVersion', '5.6.5.Final')
set('greenmailVersion', '1.6.7')
set('commonsEmailVersion', '1.5')
set('googleLibPhoneNumber', '8.12.45')
}
dependencies {
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
implementation 'org.springframework.boot:spring-boot-starter-validation'
implementation 'org.springframework.boot:spring-boot-starter-security'
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'org.springframework.boot:spring-boot-starter-mail'
implementation 'org.springframework.boot:spring-boot-starter-freemarker'
implementation 'org.springframework.boot:spring-boot-starter-actuator'
implementation 'org.flywaydb:flyway-core'
implementation "org.springdoc:springdoc-openapi-ui:${springdocVersion}"
implementation "org.hibernate:hibernate-envers:${hibernateEnversVersion}"
implementation "org.keycloak:keycloak-spring-boot-starter:${keycloakVersion}"
implementation "org.keycloak:keycloak-admin-client:${keycloakVersion}"
implementation "com.googlecode.libphonenumber:libphonenumber:${googleLibPhoneNumber}"
implementation platform('com.google.cloud:libraries-bom:24.3.0')
implementation 'com.google.cloud:google-cloud-recaptchaenterprise'
implementation 'com.google.code.gson:gson:2.9.0'
compileOnly 'org.projectlombok:lombok'
runtimeOnly 'org.postgresql:postgresql'
annotationProcessor 'org.springframework.boot:spring-boot-configuration-processor'
annotationProcessor 'org.projectlombok:lombok'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testImplementation 'org.springframework.security:spring-security-test'
testImplementation 'org.testcontainers:junit-jupiter'
testImplementation 'org.testcontainers:postgresql'
testImplementation 'org.assertj:assertj-core'
testCompileOnly 'org.projectlombok:lombok'
testAnnotationProcessor 'org.projectlombok:lombok'
testImplementation 'io.rest-assured:rest-assured:4.4.0'
testImplementation "com.icegreen:greenmail-junit5:${greenmailVersion}"
testImplementation "org.apache.commons:commons-email:${commonsEmailVersion}"
testImplementation "com.h2database:h2:1.4.200"
testImplementation group: 'org.mockito', name: 'mockito-inline', version: '4.4.0'
}
dependencyManagement {
imports {
mavenBom "org.testcontainers:testcontainers-bom:${testcontainersVersion}"
}
}
tasks.named('test') {
useJUnitPlatform()
}