-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathbuild.gradle
49 lines (40 loc) · 1.31 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
buildscript {
repositories {
mavenCentral()
}
}
plugins {
id 'org.springframework.boot' version '1.5.21.RELEASE'
}
// allow bootRepackage to work with implementation
// https://github.com/spring-projects/spring-boot/issues/9143
configurations {
custom {
it.extendsFrom implementation
}
}
bootRepackage {
customConfiguration = 'custom'
}
group = 'com.auth0'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = '1.8'
// override some Spring Boot dependency versions
ext['jackson.version'] = '2.9.9'
ext['logback.version'] = '1.2.3'
ext['thymeleaf.version'] = '3.0.11.RELEASE'
ext['thymeleaf-extras-springsecurity4.version'] = '3.0.4.RELEASE'
repositories {
mavenCentral()
}
dependencies {
implementation 'com.auth0:mvc-auth-commons:1.+'
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'org.springframework.boot:spring-boot-starter-security'
implementation 'org.thymeleaf:thymeleaf-spring4'
implementation 'org.thymeleaf.extras:thymeleaf-extras-springsecurity4'
implementation 'com.github.zhanhb:thymeleaf-layout-dialect:2.4.1'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testImplementation 'org.springframework.security:spring-security-test'
testImplementation 'org.hamcrest:java-hamcrest:2.0.0.0'
}