Skip to content

Commit adf2763

Browse files
committed
Update other code
1 parent a06ef0e commit adf2763

587 files changed

Lines changed: 686 additions & 18107 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

build.gradle

Lines changed: 11 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,23 @@
11
plugins {
22
id 'java'
3-
id 'jacoco'
4-
id 'com.github.kt3k.coveralls' version '2.8.4'
3+
id 'org.jetbrains.kotlin.jvm' version '1.3.31'
54
id 'com.jfrog.bintray' version '1.8.4'
65
id 'maven'
76
id 'maven-publish'
87
id 'java-library'
98
}
109

1110
group 'com.ringcentral'
12-
version '0.6.5'
11+
version '1.0.0-beta1'
12+
13+
sourceCompatibility = 1.8
1314

1415
repositories {
15-
jcenter()
16+
mavenCentral()
1617
}
1718

1819
dependencies {
20+
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
1921
compile group: 'com.alibaba', name: 'fastjson', version: '1.2.58'
2022
compile group: 'com.squareup.okhttp3', name: 'okhttp', version: '3.14.2'
2123
compile group: 'com.pubnub', name: 'pubnub-gson', version: '4.24.0'
@@ -24,20 +26,6 @@ dependencies {
2426
testRuntime group: 'ch.qos.logback', name: 'logback-classic', version: '1.2.3'
2527
}
2628

27-
jacocoTestReport {
28-
reports {
29-
xml.enabled true
30-
}
31-
afterEvaluate {
32-
classDirectories = files(classDirectories.files.collect {
33-
fileTree(dir: it, exclude: [
34-
'com/ringcentral/definitions/**',
35-
'com/ringcentral/paths/**'
36-
])
37-
})
38-
}
39-
}
40-
4129
def pomConfig = {
4230
licenses {
4331
license {
@@ -73,7 +61,6 @@ artifacts {
7361
archives javadocJar
7462
}
7563

76-
7764
publishing {
7865
publications {
7966
MyPublication(MavenPublication) {
@@ -82,7 +69,7 @@ publishing {
8269
artifact javadocJar
8370
groupId 'com.ringcentral'
8471
artifactId 'ringcentral'
85-
version '0.6.5'
72+
version '1.0.0-beta1'
8673
pom.withXml {
8774
def root = asNode()
8875
root.appendNode('description', 'RingCentral Java SDK')
@@ -114,12 +101,12 @@ bintray {
114101
githubRepo = 'ringcentral/ringcentral-java' //Optional Github repository
115102
githubReleaseNotesFile = 'README.md' //Optional Github readme file
116103
version {
117-
name = '0.6.5'
118-
desc = 'RingCentral Java SDK 0.6.5'
119-
vcsTag = '0.6.5'
104+
name = '1.0.0-beta1'
105+
desc = 'RingCentral Java SDK 1.0.0-beta1'
106+
vcsTag = '1.0.0-beta1'
120107
gpg {
121108
sign = true
122109
}
123110
}
124111
}
125-
}
112+
}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
package com.ringcentral;
2+
3+
public enum ContentType {
4+
JSON, FORM, MULTIPART
5+
}

src/main/java/com/ringcentral/HttpClient.java

Lines changed: 0 additions & 93 deletions
This file was deleted.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
package com.ringcentral;
2+
3+
public enum HttpMethod {
4+
GET, POST, PUT, PATCH, DELETE
5+
}

src/main/java/com/ringcentral/Path.java

Lines changed: 0 additions & 53 deletions
This file was deleted.

src/main/java/com/ringcentral/PathSegment.java

Lines changed: 0 additions & 27 deletions
This file was deleted.

0 commit comments

Comments
 (0)