-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathbuild.gradle
51 lines (44 loc) · 1.01 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
buildscript {
ext {
springBootVersion = '1.5.3.RELEASE'
}
repositories {
jcenter()
}
dependencies {
classpath(
"org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}"
)
}
}
group = "info.donggan"
version = "0.2.0"
apply plugin: 'java'
apply plugin: 'idea'
apply plugin: 'org.springframework.boot'
jar {
baseName = 'auth-server'
version = '0.2.0'
}
sourceCompatibility = 1.8
targetCompatibility = 1.8
repositories {
jcenter()
}
dependencies {
compile(
'org.springframework.boot:spring-boot-starter-web',
'org.springframework.security.oauth:spring-security-oauth2',
'org.springframework.security:spring-security-jwt'
)
testCompile(
'org.springframework.boot:spring-boot-starter-test',
)
}
task wrapper(type: Wrapper) {
gradleVersion = '3.3'
distributionUrl = 'http://get.jenv.mvnsearch.org/download/gradle/gradle-3.3.zip'
}
springBoot {
buildInfo()
}