forked from lightsail-network/java-stellar-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
47 lines (42 loc) · 1.21 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
apply plugin: 'java'
apply plugin: 'ivy-publish'
sourceCompatibility = 1.6
version = '0.2.0'
group = 'stellar'
jar {
manifest {
attributes 'Implementation-Title': 'stellar-sdk',
'Implementation-Version': version
}
archiveName 'stellar-sdk.jar'
duplicatesStrategy DuplicatesStrategy.EXCLUDE
from { configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } }
}
publishing {
publications {
ivy(IvyPublication) {
from components.java
}
}
repositories {
ivy {
url "$projectDir/repos"
}
}
}
repositories {
mavenCentral()
}
dependencies {
compile 'com.squareup.okhttp3:okhttp:3.9.1'
compile 'com.moandjiezana.toml:toml4j:0.5.1'
compile 'org.mockito:mockito-core:2.13.0'
compile 'com.google.guava:guava:18.0'
compile 'com.google.code.gson:gson:2.4'
compile 'commons-io:commons-io:2.4'
compile 'org.glassfish.jersey.core:jersey-client:2.22.1'
compile 'org.glassfish.jersey.media:jersey-media-sse:2.22.1'
compile fileTree(dir: 'libs', include: '*.jar')
testCompile 'com.squareup.okhttp3:mockwebserver:3.9.1'
testCompile group: 'junit', name: 'junit', version: '4.11'
}