Open albanoj2 opened 6 years ago
We've been putting off gradle/maven repo (b/c I'm lazy and didn't figure it out). Your suggestion(s) are all good, if I don't get to it soon feel free to make a pull request.
edit: See the latest commit, working on it. Though we will likely rely on jitpack.io for a little while longer
Currently, the JAR generated by this project must be manually copied onto the classpath or added as a local dependency in a Maven or Gradle project. In order to reduce the overhead needed to use this API implementation, the Gradle build script (
build.gradle
) should include a step that allows for the built and packaged JAR to be deployed to Maven Central.This will allow for both Maven and Gradle applications to add a compile dependency to this API implementation and removing the need for transient dependencies to be manually added to an end user's application. For example, an end user would be able to add a dependency such as the following to their project:
In order to accomplish this, the Maven Publish Plugin for Gradle should be used.
com.ampro.robinhood
robinhood-api