Skip to content

Commit

Permalink
Add documentation about declaring ttorrent as a POM dependency
Browse files Browse the repository at this point in the history
With ttorrent now being available on Maven Central, this closes #12.

Signed-off-by: Maxime Petazzoni <maxime.petazzoni@bulix.org>
  • Loading branch information
mpetazzoni committed Dec 8, 2013
1 parent efe3a26 commit 9550b79
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions README.md
Expand Up @@ -67,6 +67,22 @@ usage message on the console when invoked with the ``-h`` command-line flag.

### As a library

To use ``ttorrent`` is a library in your project, all you need is to
declare the dependency on the latest version of ``ttorrent``. For
example, if you use Maven, add the following in your POM's dependencies
section:

```xml
<dependencies>
...
<dependency>
<groupId>com.turn</groupId>
<artifactId>ttorrent</groupId>
<version>1.4</version>
</dependency>
</dependencies>
```

*Thanks to Anatoli Vladev for the code examples in #16.*

#### Client code
Expand Down

0 comments on commit 9550b79

Please sign in to comment.