11plugins {
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
1110group ' com.ringcentral'
12- version ' 0.6.5'
11+ version ' 1.0.0-beta1'
12+
13+ sourceCompatibility = 1.8
1314
1415repositories {
15- jcenter ()
16+ mavenCentral ()
1617}
1718
1819dependencies {
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-
4129def pomConfig = {
4230 licenses {
4331 license {
@@ -73,7 +61,6 @@ artifacts {
7361 archives javadocJar
7462}
7563
76-
7764publishing {
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+ }
0 commit comments