-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbuild.gradle
More file actions
89 lines (80 loc) · 1.93 KB
/
Copy pathbuild.gradle
File metadata and controls
89 lines (80 loc) · 1.93 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
plugins {
id 'java'
id 'maven-publish'
id 'java-library'
id 'signing'
}
group 'com.ringcentral'
version '1.3.1'
sourceCompatibility = 1.8
repositories {
mavenCentral()
}
dependencies {
implementation group: 'com.pubnub', name: 'pubnub-gson', version: '5.2.3'
implementation group: 'com.ringcentral', name: 'ringcentral', version: '3.0.0'
testImplementation group: 'junit', name: 'junit', version: '4.13.2'
}
java {
withJavadocJar()
withSourcesJar()
}
publishing {
publications {
mavenJava(MavenPublication) {
artifactId = 'ringcentral-pubnub'
from components.java
versionMapping {
usage('java-api') {
fromResolutionOf('runtimeClasspath')
}
usage('java-runtime') {
fromResolutionResult()
}
}
pom {
name = 'RingCentral PubNub SDK'
description = 'RingCentral PubNub SDK'
url = 'https://github.com/ringcentral/ringcentral-pubnub-java'
licenses {
license {
name = 'MIT'
url = 'https://opensource.org/licenses/MIT'
}
}
developers {
developer {
id = 'tylerliu'
name = 'Tyler Liu'
email = '[email protected]'
}
}
scm {
connection = 'scm:git:git://[email protected]:ringcentral/ringcentral-pubnub-java.git'
developerConnection = 'scm:git:ssh://[email protected]:ringcentral/ringcentral-pubnub-java.git'
url = 'https://github.com/ringcentral/ringcentral-pubnub-java'
}
}
}
}
repositories {
maven {
url = "https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/"
credentials {
username = ossrhUsername
password = ossrhPassword
}
}
}
}
signing {
sign publishing.publications.mavenJava
}
javadoc {
options.addBooleanOption('html5', true)
}
test {
testLogging {
exceptionFormat = 'full'
}
}