polkadot-java / api

Java APIs around Polkadot and any Substrate-based chain RPC calls. It is dynamically generated based on what the Substrate runtime provides in terms of metadata.Full documentation & examples available.
https://polkadot-java.github.io/
Apache License 2.0
61 stars 28 forks source link

Make the polka-java library available in the central Maven repository for easy integration. #20

Closed talfco closed 5 years ago

talfco commented 5 years ago

The following gradle enhancements would allow to populate the library into the central Maven repository and enable it for easy consumption by developers. I did a test run using a clone and successfully deployed a "0.1" version, which is representing the actual 1.0.0-SNAPSHOT version under my group name net.cloudburo. It can be found under: https://search.maven.org/search?q=a:polkadot-java. I could now start, writing a simple hello world project, referencing the library, refer to gradle, which is now straightforward Github clb-polkadot-java-hello-world. It would beneficial if that global maven repository would hold a "official" version of this project. In order to enable that, this project would have to ensure the following pre-requisite, as outlined in the Sonatype OSSRH Guide

Additional some descriptions and variables in the gradle would have to be adjusted (refer to the FIXME in the gradle).

With that the library could be deployed officially and I could remove my cloned one.