Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

describe how to obtain the jar from jitpack #10

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 24 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,32 @@ You can build a JAR using `Maven http://maven.apache.org/` and include it as a
dependency in your project. **docopt.java** is not currently available from Maven
central.

Alternatevely, you can just copy the ``org.docopt`` package into your project--it
Alternatively, you can just copy the ``org.docopt`` package into your project--it
is self-contained.

Or you can use https://jitpack.io/ as a package repository:

Add the JitPack repository to your build file

.. code:: xml

<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>

Add the latest snapshot of docopt to your dependencies

.. code:: xml

<dependency>
<groupId>com.github.docopt</groupId>
<artifactId>docopt.java</artifactId>
<version>-SNAPSHOT</version>
</dependency>

**docopt.java** is tested with Java 6 and Java 7.

API
Expand Down