-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
56 lines (43 loc) · 1.46 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
buildscript {
ext {
springBootVersion = '1.5.10.RELEASE'
}
repositories {
mavenCentral()
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
}
}
apply plugin: 'groovy'
apply plugin: 'eclipse'
apply plugin: 'org.springframework.boot'
jar {
baseName 'geolocation-uaparser-api'
}
version = '1.0'
sourceCompatibility = 1.8
repositories {
mavenCentral()
}
springBoot {
executable = true
}
def vertxVersion = '3.5.1'
dependencies {
//For GeoLocation
compile group: 'in.ankushs', name: 'Java-DB-IP', version: '2.0'
//User agent parser
compile group: 'com.blueconic', name: 'browscap-java', version: '1.2.2'
compile group: 'commons-io', name: 'commons-io', version: '2.5'
compile group: 'io.vertx', name: 'vertx-dropwizard-metrics', version: vertxVersion
compile group: 'io.vertx', name: 'vertx-core', version: vertxVersion
compile group: 'io.vertx', name: 'vertx-web', version: vertxVersion
compile group: 'io.vertx', name: 'vertx-redis-client', version: vertxVersion
compile('org.springframework.boot:spring-boot-starter')
compile('org.codehaus.groovy:groovy')
runtime('org.springframework.boot:spring-boot-devtools')
testCompile('org.springframework.boot:spring-boot-starter-test')
testCompile 'org.spockframework:spock-core:1.1-groovy-2.4-rc-3'
testCompile 'org.spockframework:spock-spring:1.1-groovy-2.4-rc-3'
}