-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathbuild.gradle
81 lines (68 loc) · 2.93 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
80
81
buildscript {
ext {
springBootVersion = '2.0.1.RELEASE'
}
repositories {
mavenCentral()
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
}
}
apply plugin: 'java'
apply plugin: 'idea'
apply plugin: 'org.springframework.boot'
apply plugin: 'io.spring.dependency-management'
apply plugin: 'war'
group = 'com.cts'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = 1.8
targetCompatibility = 1.8
[compileJava,compileTestJava]*.options*.encoding = 'UTF-8'
repositories {
mavenCentral()
}
configurations {
providedRuntime
}
jar {
baseName = 'trader-gateway'
version = '1.0.0'
manifest {
attributes 'Main-Class': 'com.cts.trader.TraderApplication'
}
}
dependencies {
compile('io.jsonwebtoken:jjwt:0.7.0')
compile('org.springframework.boot:spring-boot-starter-data-jpa')
compile('org.springframework.boot:spring-boot-starter-data-rest')
compile('org.springframework.boot:spring-boot-starter-security')
compile group: 'org.springframework.security', name: 'spring-security-crypto', version: '5.0.4.RELEASE'
compile('org.springframework.boot:spring-boot-starter-web')
compile('org.springframework.boot:spring-boot-starter-websocket')
// https://mvnrepository.com/artifact/org.java-websocket/Java-WebSocket
compile group: 'org.java-websocket', name: 'Java-WebSocket', version: '1.3.8'
// https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-starter-data-redis
compile group: 'org.springframework.boot', name: 'spring-boot-starter-data-redis', version: '2.0.2.RELEASE'
// https://mvnrepository.com/artifact/redis.clients/jedis
compile group: 'redis.clients', name: 'jedis', version: '2.9.0'
// json
compile group: 'net.sf.json-lib', name: 'json-lib', version: '2.4', classifier: 'jdk15'
compile group: 'commons-beanutils', name: 'commons-beanutils', version: '1.9.3'
compile group: 'commons-collections', name: 'commons-collections', version: '3.2.2'
compile group: 'commons-lang', name: 'commons-lang', version: '2.6'
compile group: 'net.sf.ezmorph', name: 'ezmorph', version: '1.0.6'
// https://mvnrepository.com/artifact/org.quickfixj/quickfixj-core
compile group: 'org.quickfixj', name: 'quickfixj-core', version: '2.0.0'
// https://mvnrepository.com/artifact/org.quickfixj/quickfixj-all
compile group: 'org.quickfixj', name: 'quickfixj-all', version: '2.0.0'
compile('org.springframework.boot:spring-boot-starter-logging')
compile 'org.springframework.boot:spring-boot-devtools'
compile 'org.springframework.boot:spring-boot-starter-tomcat'
runtime('org.springframework.boot:spring-boot-devtools')
runtime('mysql:mysql-connector-java')
//providedRuntime('org.springframework.boot:spring-boot-starter-tomcat')
testCompile('org.springframework.boot:spring-boot-starter-test')
testCompile('org.springframework.restdocs:spring-restdocs-mockmvc')
testCompile('org.springframework.security:spring-security-test')
}