-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
76 lines (65 loc) · 2.44 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
apply plugin: 'java'
apply plugin: 'idea'
apply plugin: 'spring-boot'
apply plugin: 'io.spring.dependency-management'
apply plugin: 'org.flywaydb.flyway'
apply plugin: 'groovy'
buildscript {
ext {
springBootVersion = '1.3.5.RELEASE'
}
repositories {
mavenLocal()
mavenCentral()
maven { url "http://repo.spring.io/libs-release" }
maven { url 'https://repo.spring.io/plugins-snapshot' }
maven { url "https://plugins.gradle.org/m2/" }
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
classpath 'org.flywaydb:flyway-gradle-plugin:4.0.2'
}
}
sourceCompatibility = 1.8
targetCompatibility = 1.8
repositories {
mavenLocal()
jcenter()
mavenCentral()
maven { url "https://repo.spring.io/snapshot" }
maven { url "https://repo.spring.io/milestone" }
maven { url 'https://repo.spring.io/libs-milestone' }
maven { url "https://repo.spring.io/libs-release" }
}
dependencies {
compile('org.springframework.cloud:spring-cloud-starter-oauth2')
compile('org.springframework.boot:spring-boot-starter-data-jpa')
compile('org.springframework.boot:spring-boot-devtools')
compile('org.springframework.boot:spring-boot-starter-hateoas')
compile('org.springframework.boot:spring-boot-starter-security')
compile('org.springframework.boot:spring-boot-starter-web')
compile "org.springframework.data:spring-data-envers:0.2.0.RELEASE"
compile "org.springframework.boot:spring-boot-starter-freemarker"
compile "io.springfox:springfox-swagger2:2.5.0"
compile "io.springfox:springfox-swagger-ui:2.5.0"
compile "org.projectlombok:lombok:1.16.6"
runtime 'mysql:mysql-connector-java'
compile 'org.apache.commons:commons-lang3:3.4'
compile "org.flywaydb:flyway-core:4.0.2"
compile 'org.webjars:jquery:3.0.0-alpha1'
compile 'org.webjars:bootstrap:3.3.6'
compile "org.codehaus.groovy:groovy-all:2.4.1"
testCompile 'org.spockframework:spock-spring:1.1-groovy-2.4-rc-2'
testCompile "org.spockframework:spock-core:1.1-groovy-2.4-rc-2"
testCompile('org.springframework.boot:spring-boot-starter-test')
testCompile 'com.ninja-squad:DbSetup:2.1.0'
testCompile "com.h2database:h2:1.4.192"
}
dependencyManagement {
imports {
mavenBom "org.springframework.cloud:spring-cloud-dependencies:Brixton.SR2"
}
}
task wrapper(type: Wrapper) {
gradleVersion = '2.13'
}