News & Announcements User Community Developer Community

Welcome to the RingCentral Community

Please note the community is currently under maintenance and is read-only.

Search
Make sure to review our Terms of Use and Community Guidelines.
  Please note the community is currently under maintenance and is read-only.
Home » Developers
Building and deploying without Maven or Gradle
Tags: sdk
Feb 9, 2021 at 3:01pm   •   3 replies  •  0 likes
Tommy Miles

Our use case prevents using Maven or Gradle as we have to deploy our Java class as an extension to another application. We need a stand-alone JAR to deploy and have not been able to utilize the JAR available via the SDK due to dependencies.

Is it possible to obtain a stand-alone JAR that includes all dependency libraries?

3 Answers
answered on Feb 17, 2021 at 2:50pm  

Here is a working project https://github.com/tylerlong/ringcentral-jar-demo

You need to download and add the following jars to your project:

  1. // https://bintray.com/tylerlong/maven/ringcentral/1.6.1#files
  2. // https://bintray.com/bintray/jcenter/org.jetbrains.kotlin%3Akotlin-stdlib/1.3.50#files
  3. // https://bintray.com/bintray/jcenter/com.google.code.gson%3Agson/2.8.6#files
  4. // https://bintray.com/bintray/jcenter/com.squareup.okhttp3%3Aokhttp/3.14.2#files
  5. // https://bintray.com/bintray/jcenter/com.squareup.okio%3Aokio/1.17.2#files


I don't think we need to hack the JVM. But we do need the kotlin-stdlib jar file. It's just a jar file like other jar files. So I don't think it would be an issue for you.


 0
answered on Feb 11, 2021 at 12:35pm  

We added the JARs manually, but it appears that the RingCentral JAR is dependent on the Kotlin JVM and we are unable to inject Kotlin into our runtime. We are deploying into an application that manages the JVM internally and does not allow for us to modify the JVM components.

Am I understanding how Kotlin is utilized in your SDK correctly? Do you have a version that is not Kotlin dependent?


 0
answered on Feb 10, 2021 at 4:31pm  

You can download jar file here https://bintray.com/tylerlong/maven/ringcentral/1.6.1#files/com/ringcentral/ringcentral


You need to download dependent libraries yourself: https://github.com/ringcentral/ringcentral-java/blob/master/build.gradle#L21-L22


We don't provide a standalone jar file which includes all dependencies. Because dependent libraries are not maintained by us, it is not a good idea to include other jar files inside ours.


 0



A new Community is coming to RingCentral!

Posts are currently read-only as we transition into our new platform.

We thank you for your patience
during this downtime.

Try Workflow Builder

Did you know you can easily automate tasks like responding to SMS, team messages, and more? Plus it's included with RingCentral Video and RingEX plans!

Try RingCentral Workflow Builder

PRODUCTS
RingEX
Message
Video
Phone
OPEN ECOSYSTEM
Developer Platform
APIs
Integrated Apps
App Gallery
Developer support
Games and rewards

RESOURCES
Resource center
Blog
Product Releases
Accessibility
QUICK LINKS
App Download
RingCentral App login
Admin Portal Login
Contact Sales
© 1999-2024 RingCentral, Inc. All rights reserved. Legal Privacy Notice Site Map Contact Us