Open SnailOk opened 5 years ago
or you don't have build tool?
Unfortunately i cannot release new version without private keys but you can download it from jitpack repo. See my last comment here: #225
in fact ,I used v1.5 jar before.But I meet a problem ,I couldn't download file .I guess I am behind NAT, InetAddress.getLocalHost() is 192.168.0.108,so I don't know how to solve
NAT it not a problem. Other peers cannot connect to you but you still can connect to peers
NAT it not a problem. Other peers cannot connect to you but you still can connect to peers
yes,I found I could download some video ,but it need to spend too long time.I want to know whether there is a way to solve NAT,if I need to share a seed ? And will it be successful sharing in the LAN?Finally, thank you for answering my question.
or you don't have build tool? thank you ,I know how to build it now.
for developer ttorrent: pls add in .gitignore: .project .classpath .settings
It is still not well described how to do this jitpack repo works. Thus ... add this to your pom.xml:
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
<repository>
<id>jboss-thirdparty-releases</id>
<name>JBoss Thirdparty Releases</name>
<url>https://repository.jboss.org/nexus/content/repositories/thirdparty-releases/</url>
</repository>
</repositories>
and...
<dependencies>
<dependency>
<groupId>com.github.mpetazzoni</groupId>
<artifactId>ttorrent</artifactId>
<version>ttorrent-2.0</version>
</dependency>
</dependencies>
Done!
With Gradle:
repositories {
maven { url 'https://jitpack.io' }
}
dependencies {
implementation 'com.github.mpetazzoni:ttorrent:ttorrent-2.0'
}
Also for Maven, this should be (it won't build without <version>3.1.0</version>
):
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>3.1.0</version>
Unfortunately i cannot release new version without private keys but you can download it from jitpack repo. See my last comment here: https://github.com/mpetazzoni/ttorrent/issues/225