-
Notifications
You must be signed in to change notification settings - Fork 32
/
build.gradle
58 lines (50 loc) · 1.8 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
buildscript {
repositories {
mavenCentral()
jcenter()
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:1.2.3.RELEASE")
}
}
ext {
keycloakVersion = '1.2.1.Smartling-SNAPSHOT'
keycloakExtrasVersion = '0.3.0-RELEASE'
resteasyVersion = '3.0.10.Final'
springVersion = '4.1.6.RELEASE'
springBootVersion = '1.2.3.RELEASE'
springSecurityVersion = '3.2.7.RELEASE'
}
subprojects {
apply plugin: 'java'
apply plugin: 'spring-boot'
apply plugin: 'war'
group = 'org.keycloak.springsecurity.demo'
[compileJava, compileTestJava]*.options*.encoding = 'UTF-8'
repositories {
jcenter()
maven { url "https://repo.fugu.io/artifactory/ext-snapshot-local/" }
// mavenLocal()
}
dependencies {
compile "org.slf4j:slf4j-api:1.7.10"
compile "org.springframework.boot:spring-boot-starter-web:${springBootVersion}"
compile "org.springframework.security:spring-security-web:${springSecurityVersion}"
compile "org.springframework.security:spring-security-config:${springSecurityVersion}"
compile "org.keycloak:keycloak-spring-security-adapter:${keycloakVersion}"
compile "net.rossillo.mvc.cache:spring-mvc-cache-control:1.1.1-RELEASE"
testCompile "org.springframework.boot:spring-boot-starter-test:${springBootVersion}"
}
}
project('customer-app') {
dependencies {
compile "org.springframework.boot:spring-boot-starter-freemarker:${springBootVersion}"
compile "org.springframework:spring-web:${springVersion}"
compile "org.springframework:spring-webmvc:${springVersion}"
}
}
project('product-app') {
dependencies {
compile "org.springframework.boot:spring-boot-starter-freemarker:${springBootVersion}"
}
}