-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathbuild.gradle
59 lines (58 loc) · 2.08 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
apply plugin: 'java'
apply plugin: 'spring-boot'
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:1.4.1.RELEASE")
}
}
repositories {
mavenLocal()
mavenCentral()
jcenter()
maven {
credentials {
username='liushiming'
password='Hello899'
}
url 'http://repo.quancheng-ec.com/repository/maven-public/'
}
maven { url "http://xbib.org/repository"}
}
ext {
versions = [
'elasticsearch' : '2.3.4',
'elasticsearch-helper' : '2.3.4.0',
'log4j': '2.5',
'wagon' : '2.10',
'mysql' : '5.1.38',
'jts' : '1.13',
'jdbc-driver-csv': '1.0.0',
'odps': '2.2'
]
}
configurations {
all*.exclude group: 'org.springframework.boot', module: 'spring-boot-starter-logging'
}
dependencies {
compile 'org.elasticsearch:elasticsearch:' + versions.elasticsearch
compile 'org.xbib.elasticsearch.plugin:elasticsearch-helper:' + versions.'elasticsearch-helper'
compile('com.vividsolutions:jts:' + versions.jts) {
exclude group: 'xerces'
}
compile('org.xbib.jdbc:jdbc-driver-csv:' + versions.'jdbc-driver-csv') {
exclude group: 'org.apache.logging.log4j'
}
compile 'com.aliyun.odps:odps-jdbc:' + versions.odps
compile 'mysql:mysql-connector-java:' + versions.mysql
compile 'org.apache.maven.wagon:wagon-ssh-external:' + versions.wagon
compile 'com.google.code.gson:gson:2.8.0'
compile group: 'org.apache.commons', name: 'commons-lang3', version:'3.4'
compile group: "com.alibaba", name: "druid", version: "1.0.26"
compile group: 'org.springframework.boot', name: 'spring-boot-starter-data-jpa', version:'1.4.1.RELEASE'
compile group: 'org.springframework.boot', name: 'spring-boot-starter-log4j', version:'1.3.8.RELEASE'
compile group: 'org.springframework.boot', name: 'spring-boot-starter-web', version:'1.4.1.RELEASE'
compile group: 'org.springframework.boot', name: 'spring-boot-starter-velocity', version:'1.4.1.RELEASE'
}