forked from aris-i/okex-bookmap-adapter
-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathbuild.gradle
More file actions
89 lines (74 loc) · 2.39 KB
/
build.gradle
File metadata and controls
89 lines (74 loc) · 2.39 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
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
/*
* This file was generated by the Gradle 'init' task.
*/
plugins {
id 'java'
id 'eclipse'
}
def okexName = 'okex-adapter'
def okexVersion = 'alpha-0.1.4.16'
def okcoinName = 'okcoin-adapter'
def okcoinVersion = 'alpha-1.0.0.12'
repositories {
mavenCentral()
maven {
url "https://maven.bookmap.com/maven2/releases/"
}
}
eclipse {
classpath {
downloadSources=true
}
}
dependencies {
implementation group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: '2.2.1'
implementation group: 'com.fasterxml.jackson.jaxrs', name: 'jackson-jaxrs-json-provider', version: '2.2.1'
implementation group: 'org.glassfish.tyrus', name: 'tyrus-client', version: '1.15'
implementation 'org.glassfish.tyrus:tyrus-container-grizzly-client:1.15'
implementation 'javax.ws.rs:javax.ws.rs-api:2.1.1'
implementation 'org.java-websocket:Java-WebSocket:1.3.9'
implementation 'org.apache.commons:commons-lang3:3.8.1'
implementation 'org.glassfish.jersey.core:jersey-client:2.27'
implementation 'org.glassfish.jersey.inject:jersey-hk2:2.28'
implementation 'commons-codec:commons-codec:1.12'
implementation 'org.apache.commons:commons-compress:1.16'
annotationProcessor 'org.projectlombok:lombok:1.18.12'
compileOnly 'org.projectlombok:lombok:1.18.12'
compileOnly 'com.google.code.gson:gson:2.4'
compileOnly group: 'com.bookmap.api', name: 'api-core', version: '7.1.0.50'
}
group = 'com.stableapps'
sourceCompatibility = '1.8'
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}
task okex (type: Jar){
baseName = okexName
version = okexVersion
from {
configurations.runtimeClasspath.collect {
exclude '/**/DEPENDENCIES.txt'
exclude '/**/LICENSE*'
exclude '/**/NOTICE*'
exclude '/**/INDEX*'
exclude '/com/stableapps/okcoin/**'
it.isDirectory() ? it : zipTree(it)
}
}
with jar
}
task okcoin (type: Jar){
baseName = okcoinName
version = okcoinVersion
from {
configurations.runtimeClasspath.collect {
exclude '/**/DEPENDENCIES.txt'
exclude '/**/LICENSE*'
exclude '/**/NOTICE*'
exclude '/**/INDEX*'
exclude '/com/stableapps/okex/**'
it.isDirectory() ? it : zipTree(it)
}
}
with jar
}