-
Notifications
You must be signed in to change notification settings - Fork 13
/
build.gradle
79 lines (68 loc) · 2.85 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
77
78
79
buildscript {
ext {
springBootVersion = '1.5.9.RELEASE'
}
repositories {
mavenCentral()
maven { url "https://plugins.gradle.org/m2/" }
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
classpath("gradle.plugin.com.boxfuse.client:flyway-release:4.2.0")
classpath('org.junit.platform:junit-platform-gradle-plugin:1.0.2')
}
}
apply plugin: 'java'
apply plugin: 'eclipse'
apply plugin: "org.flywaydb.flyway"
apply plugin: 'org.junit.platform.gradle.plugin'
apply plugin: 'org.springframework.boot'
group = 'com.thoughtworks'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = 1.8
repositories {
mavenCentral()
maven { url 'https://jitpack.io' }
}
dependencyManagement {
imports {
mavenBom "org.springframework.cloud:spring-cloud-dependencies:Edgware.RELEASE"
}
}
dependencies {
compile('org.springframework.boot:spring-boot-starter-actuator')
compile'org.springframework.cloud:spring-cloud-starter-config'
compile('org.springframework.cloud:spring-cloud-starter-consul-discovery')
compile('org.springframework.cloud:spring-cloud-starter-config')
compile('org.springframework.boot:spring-boot-starter-security')
compile('org.springframework.boot:spring-boot-starter-web')
compile('org.springframework.boot:spring-boot-starter-data-jpa')
compile('org.springframework.boot:spring-boot-starter-data-redis')
compile('mysql:mysql-connector-java')
compile('org.flywaydb:flyway-core:4.2.0')
compile('redis.clients:jedis:2.9.0')
compile('org.projectlombok:lombok:1.16.14')
compile('io.jsonwebtoken:jjwt:0.7.0')
compile('net.logstash.logback:logstash-logback-encoder:4.9')
compile('com.h2database:h2:1.4.192')
compile('com.fasterxml.jackson.datatype:jackson-datatype-jdk8:2.8.6')
compile('com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.8.6')
compile('com.fasterxml.jackson.datatype:jackson-datatype-joda:2.8.9')
testCompile('org.springframework.boot:spring-boot-starter-test')
testCompile('org.springframework.security:spring-security-test')
testCompile('org.springframework.boot:spring-boot-starter-test')
testCompile('org.springframework.security:spring-security-test')
testCompile('org.junit.jupiter:junit-jupiter-api:5.0.2')
testCompile('org.junit.jupiter:junit-jupiter-engine:5.0.2')
testCompile('org.junit.jupiter:junit-jupiter-params:5.0.2')
testCompile('org.junit.platform:junit-platform-launcher:1.0.2')
testCompile('org.junit.platform:junit-platform-runner:1.0.2')
testCompile('com.github.sbrannen:spring-test-junit5:1.0.2')
testCompile('org.powermock:powermock-module-junit4:1.6.5')
testCompile('org.powermock:powermock-api-mockito:1.6.5')
}
flyway {
url = 'jdbc:mysql://127.0.0.1/mst_user'
user = 'root'
password = 'dev'
}