Install libtorrent4j via Maven or Gradle
masterYou can add libtorrent4j to your project using Maven or Gradle. Note that you must select the specific artifact corresponding to your target platform and architecture (e.g., libtorrent4j-android-arm64-v8a, libtorrent4j-macos, libtorrent4j-linux, or libtorrent4j-windows).
<!-- Maven -->
<dependency>
<groupId>org.libtorrent4j</groupId>
<artifactId>libtorrent4j</artifactId>
<version>2.x.x</version>
</dependency>
<!-- Gradle -->
compile 'org.libtorrent4j:libtorrent4j:2.x.x'