Skip to content

Commit

Permalink
hyperledger-web3j#720: adding snapshot repo information into the read…
Browse files Browse the repository at this point in the history
…me file
  • Loading branch information
snazha-blkio committed Oct 2, 2018
1 parent 7255cee commit cd681b8
Showing 1 changed file with 27 additions and 5 deletions.
32 changes: 27 additions & 5 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -134,9 +134,6 @@ Android:
<version>3.3.1-android</version>
</dependency>
If you would like to use snapshots instead please add a new maven repository pointing to:
https://oss.sonatype.org/content/repositories/snapshots
into the relevant maven settings or POM file, please see: https://maven.apache.org/guides/mini/guide-multiple-repositories.html
Gradle
------
Expand All @@ -154,15 +151,40 @@ Android:
compile ('org.web3j:core:3.3.1-android')
If you would like to use snapshots instead please add the following into your gradle script.
Snapshot dependencies
---------------------

If you would like to use snapshots instead please add a new maven repository pointing to:

::

https://oss.sonatype.org/content/repositories/snapshots

Please refer to the `maven <https://maven.apache.org/guides/mini/guide-multiple-repositories.html>`_ or `gradle <https://maven.apache.org/guides/mini/guide-multiple-repositories.html>`_ documentation for further detail.

Sample gradle configuration:

.. code-block:: groovy
.. code-block: groovy
repositories {
maven {
url "https://oss.sonatype.org/content/repositories/snapshots"
}
}
Sample maven configuration:

.. code-block:: xml
<repositories>
<repository>
<id>sonatype-snasphots</id>
<name>Sonatype rnapshots repo</name>
<url>https://oss.sonatype.org/content/repositories/snapshot</url>
</repository>
</repositories>
Start a client
--------------

Expand Down

0 comments on commit cd681b8

Please sign in to comment.