-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
87 lines (75 loc) · 2.49 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
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
apply plugin: 'java'
apply plugin: 'maven'
apply plugin: 'eclipse'
apply plugin: 'idea'
repositories {
mavenCentral()
}
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath 'org.kt3k.gradle.plugin:coveralls-gradle-plugin:2.0.0'
}
}
//task javadocJar(type: Jar, dependsOn: javadoc) {
// classifier = 'javadoc'
// from 'build/docs/javadoc'
//}
task sourcesJar(type: Jar) {
from sourceSets.main.allSource
classifier = 'sources'
}
artifacts {
archives jar
// archives javadocJar
archives sourcesJar
}
repositories {
mavenCentral()
}
dependencies {
compile 'org.slf4j:slf4j-api:1.7.21'
compile 'org.slf4j:slf4j-log4j12:1.7.5'
compile 'log4j:log4j:1.2.16'
compile 'com.fasterxml.jackson.core:jackson-databind:2.8.7'
compile 'com.fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider:2.8.7'
compile 'org.apache.httpcomponents:httpclient:4.3.3'
compile 'org.apache.httpcomponents:httpmime:4.3.3'
compile 'org.apache.commons:commons-lang3:3.3.2'
compile 'org.glassfish.jersey.media:jersey-media-multipart:2.9'
compile 'org.easymock:easymock:3.4'
compile 'org.apache.commons:commons-lang3:3.3.2'
testCompile 'junit:junit:4.11'
testCompile 'org.mockito:mockito-core:1.9.5'
testCompile 'org.apache.httpcomponents:httpclient:4.3.5'
testCompile 'org.slf4j:slf4j-simple:1.7.21'
}
uploadArchives {
repositories {
mavenDeployer {
beforeDeployment { MavenDeployment deployment -> signing.signPom(deployment) }
pom.artifactId = 'hyphenate-services'
pom.project {
name 'Java Client for Hyphenate Services'
packaging 'jar'
description 'Hyphenate client library for server in Java ' +
'https://docs.hyphenate.io'
url 'https://github.com/HyphenateInc/hyphenate-server-client-java'
scm {
url 'scm:[email protected]:hyphenateinc/hyphenate-server-client-java.git'
connection 'scm:[email protected]:hyphenateinc/hyphenate-server-client-java.git'
developerConnection 'scm:[email protected]:hyphenateinc/hyphenate-server-client-java.git'
}
developers {
developer {
id 'hyphenate'
name '[email protected]'
url 'https://hyphenate.io'
}
}
}
}
}
}