Skip to content

A small library that is capable to run an aria2 executable without UI

License

Notifications You must be signed in to change notification settings

devgianlu/aria2lib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

aria2lib

Codacy Badge Crowdin

This is a small module (Android library only) that allows to download and manage an aria2 executable. It is used in Aria2Android and Aria2App.

This also depends on CommonUtils. You can find how to include it there, but it is pretty similar to what comes below.

How to

  • Add as Git submodule in your project (git submodule add https://github.com/devgianlu/aria2lib)
  • Add the Gradle module to your settings.gradle:
include ':aria2lib', ':CommonUtils' ...
project(':CommonUtils').projectDir = new File('./CommonUtils')
project(':aria2lib').projectDir = new File('./aria2lib')
  • Add it as a dependency:
dependencies {
    implementation project(':aria2lib')
    ...
}

Compile aria2c executables

This repository already includes the necessary executables to run aria2, but if you want to build them yourself with ./gradlew compileAria2 -Pforce. The task will simply delete the current executables (because of the force flag) and execute the ./build_aria2c.sh <tag/commit/branch> script. If executing it directly, you have to specify a reference to devgianlu/aria2-android.

About

A small library that is capable to run an aria2 executable without UI

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •