forked from irufus/gdax-java
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
59 lines (49 loc) · 1.74 KB
/
build.gradle
File metadata and controls
59 lines (49 loc) · 1.74 KB
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: 'application'
apply plugin: 'spring-boot'
group = 'irufus'
description = 'Client for the GDAX API'
version = '0.9.0'
buildscript {
repositories {
mavenCentral()
maven { url "http://repo.maven.apache.org/maven2" }
maven { url "https://repo.spring.io/release" }
}
dependencies {
classpath "org.springframework.boot:spring-boot-gradle-plugin:1.5.4.RELEASE"
}
}
repositories {
maven { url "http://central.maven.org/maven2/"}
maven { url "http://repo1.maven.org/maven2/" }
maven { url "https://repo.spring.io/release/"}
}
project.archivesBaseName = 'gdax-java'
project.applicationName = 'gdax-java'
dependencies {
compile 'junit:junit:4.12'
compile 'com.google.code.gson:gson:2.8.0'
compile 'com.fasterxml.jackson.core:jackson-core:2.8.6'
compile 'com.fasterxml.jackson.core:jackson-databind:2.8.6'
compile 'com.fasterxml.jackson.core:jackson-annotations:2.8.6'
compile 'com.fasterxml.jackson.datatype:jackson-datatype-jdk8:2.8.6'
compile 'org.springframework.boot:spring-boot-starter-web:1.5.4.RELEASE'
compile 'org.springframework:spring-context:4.3.4.RELEASE'
compile 'joda-time:joda-time:2.9.7'
testCompile 'org.springframework:spring-test:4.3.5.RELEASE'
testCompile 'org.springframework.boot:spring-boot-test:1.5.4.RELEASE'
}
tasks.withType(Jar) {
destinationDir = file("${rootDir}/build/")
}
// file will be generated here: build/gdax-java-1.0.jar
jar {
doFirst {
from { configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } }
}
manifest {
attributes 'Main-Class': 'com.coinbase.exchange.api.GdaxApiApplication'
}
exclude 'META-INF/*.RSA', 'META-INF/*.SF','META-INF/*.DSA'
}