-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
102 lines (80 loc) · 3.87 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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
buildscript {
ext {
springBootVersion = '2.0.0.BUILD-SNAPSHOT'
}
repositories {
mavenCentral()
maven { url "https://repo.spring.io/snapshot" }
maven { url "https://repo.spring.io/milestone" }
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
}
}
apply plugin: 'java'
apply plugin: 'org.springframework.boot'
apply plugin: 'war'
jar {
baseName = 'demo'
version = '0.0.1-SNAPSHOT'
}
sourceCompatibility = 1.8
repositories {
mavenCentral()
maven { url "https://repo.spring.io/snapshot" }
maven { url "https://repo.spring.io/milestone" }
}
//configurations {
// compile.exclude module: 'spring-boot-starter-logging'
// compile.exclude module: "logback-classic"
//}
dependencies {
compile('org.springframework.boot:spring-boot-starter-data-jpa') {
exclude module: 'org.springframework.boot:spring-boot-starter-logging'
}
compile('org.springframework.boot:spring-boot-starter-data-rest') {
exclude module: 'org.springframework.boot:spring-boot-starter-logging'
}
compile('org.springframework.boot:spring-boot-starter-jdbc') {
exclude module: 'org.springframework.boot:spring-boot-starter-logging'
}
//compile('org.springframework.boot:spring-boot-starter-security')
compile('org.springframework.boot:spring-boot-starter-web'){
exclude module: 'org.springframework.boot:spring-boot-starter-logging'
}
// https://mvnrepository.com/artifact/org.apache.activemq/activemq-spring
compile group: 'org.apache.activemq', name: 'activemq-spring', version: '5.14.3'
// https://mvnrepository.com/artifact/org.apache.activemq/activemq-broker
compile group: 'org.apache.activemq', name: 'activemq-broker', version: '5.14.3'
// https://mvnrepository.com/artifact/org.apache.activemq/activeio-core
compile group: 'org.apache.activemq', name: 'activeio-core', version: '3.1.4'
// https://mvnrepository.com/artifact/org.springframework/spring-jms
compile group: 'org.springframework', name: 'spring-jms', version: '5.0.0.M4'
// https://mvnrepository.com/artifact/org.apache.activemq/activemq-jdbc-store
compile group: 'org.apache.activemq', name: 'activemq-jdbc-store', version: '5.14.3'
//jackson
// https://mvnrepository.com/artifact/com.fasterxml.jackson.core/jackson-core
compile group: 'com.fasterxml.jackson.core', name: 'jackson-core', version: '2.8.6'
// https://mvnrepository.com/artifact/com.fasterxml.jackson.core/jackson-annotations
compile group: 'com.fasterxml.jackson.core', name: 'jackson-annotations', version: '2.8.6'
// https://mvnrepository.com/artifact/javax.jms/javax.jms-api
compile group: 'javax.jms', name: 'javax.jms-api', version: '2.0.1'
// https://mvnrepository.com/artifact/org.apache.activemq/activemq-kahadb-store
compile group: 'org.apache.activemq', name: 'activemq-kahadb-store', version: '5.14.3'
// https://mvnrepository.com/artifact/com.mchange/c3p0
compile group: 'com.mchange', name: 'c3p0', version: '0.9.5.2'
compile files('lib/ojdbc6.jar')
// https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-starter-log4j
compile group: 'org.springframework.boot', name: 'spring-boot-starter-log4j', version: '1.3.8.RELEASE'
runtime('org.postgresql:postgresql')
compileOnly('org.projectlombok:lombok')
// compile('org.flywaydb:flyway-core')
// https://mvnrepository.com/artifact/org.apache.commons/commons-dbcp2
compile group: 'org.apache.commons', name: 'commons-dbcp2', version: '2.1.1'
//description of REST api
// https://mvnrepository.com/artifact/io.springfox/springfox-swagger2
compile group: 'io.springfox', name: 'springfox-swagger2', version: '2.4.0'
testCompile('org.springframework.boot:spring-boot-starter-test') {
exclude module: 'org.springframework.boot:spring-boot-starter-logging'
}
}