-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathbuild.gradle
46 lines (37 loc) · 1.39 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
plugins {
id 'org.springframework.boot' version '2.4.5'
id 'io.spring.dependency-management' version '1.0.11.RELEASE'
id 'groovy'
id 'idea'
}
group = 'com.mozdzo'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = JavaVersion.VERSION_11
repositories {
mavenCentral()
maven { url 'https://jitpack.io' }
}
ext {
keycloakVersion = '12.0.4'
testContainersVersion = '1.15.3'
spockVersion = '1.3-groovy-2.5'
}
dependencies {
implementation 'org.springframework.boot:spring-boot-starter-security'
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'javax.validation:validation-api'
implementation 'org.keycloak:keycloak-spring-boot-starter'
implementation 'org.codehaus.groovy:groovy'
compileOnly 'org.springframework.boot:spring-boot-configuration-processor'
testImplementation "org.spockframework:spock-core:${spockVersion}"
testImplementation "org.spockframework:spock-spring:${spockVersion}"
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testImplementation 'org.springframework.security:spring-security-test'
testImplementation "org.testcontainers:testcontainers:${testContainersVersion}"
testImplementation "org.keycloak:keycloak-test-helper:${keycloakVersion}"
}
dependencyManagement {
imports {
mavenBom "org.keycloak.bom:keycloak-adapter-bom:${keycloakVersion}"
}
}