Skip to content
Browse files

Add documentation about declaring ttorrent as a POM dependency

With ttorrent now being available on Maven Central, this closes #12.

Signed-off-by: Maxime Petazzoni <>
  • Loading branch information...
1 parent efe3a26 commit 9550b79aafd3f1843b25c0598726f1c238ab500c @mpetazzoni committed Dec 7, 2013
Showing with 16 additions and 0 deletions.
  1. +16 −0
@@ -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
+ <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

0 comments on commit 9550b79

Please sign in to comment.
Something went wrong with that request. Please try again.