forked from coi-gov-pl/pomocua-ogloszenia
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
76 lines (67 loc) · 2.46 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
buildscript {
ext {
springBootVersion = '2.6.4'
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')
}
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.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}"
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}"
}
dependencyManagement {
imports {
mavenBom "org.testcontainers:testcontainers-bom:${testcontainersVersion}"
}
}
tasks.named('test') {
useJUnitPlatform()
}