Drone
The missing library manager for Android Developers (beta)
Summary
- ⚡ Blazing fast way to add libraries
- 🎉 No need to search the web for
that
library - 🚀 Intuitive, easy-to-learn tool
- 💎 Add multiple dependencies with a one liner
- ✌️ Automated dependency and package management
- 🔨 Automatic import custom urls (e.g. jitpack)
What is it?
As an android developer I was jealous of the node.js community for their fast and reliable dependency managers, it's so easy to write yarn add <library>
and a library is imported into the project... So I made drone
for android!
Install
npm install -g drone
Usage
Simple usage:
drone
addcreator/library
module
Usage
$ drone <command> <params>
$ drone install # Downloads the packages
$ drone test <creator/library> # Tests the library by fetching its version
$ drone add <creator/library> <module> # Adds a dependency to a module
$ drone remove <creator/library> <module> # Removes the dependency from a module
$ drone info <creator/library> # Retrieves the info for this package
$ drone update # Get the latest packages
$ drone list # List all of the packages
$ drone stats # Get some stats regarding the hive
$ drone hive # Opens the hive url
$ drone open <creator/library> # Opens the library's homepage
$ drone new # Creates a new one if it's not in the server yet
$ drone search <library> # Searches for the 'library' in the hive
Examples
$ drone install # Downloads the packages
$ drone info square/picasso # Shows the info for square/picasso
$ drone add square/retrofit app # Adds retrofit to the 'app' module
$ drone rm square/retrofit app # removes retrofit from the 'app' module
$ drone open google/gson # Opens GSONs homepage
$ drone new # takes you throught the creation wizard
$ drone search rxjava # Searches the hive for 'rxjava'
$ drone test square/picasso # Tests the library by fetching its version
Where are the libraries?
Instead of maintaining a server with all the possible libraries I'm going with a brew approach, the community will create
a library once
and it will be available to everyone else forever in the hive!
$ drone new
follow the wizard to generate the <library>.json
file then open the pull request in the hive with this format:
hive/
<creator/library>
.json
Created by
License
MIT © Cesar Ferreira
Logo
by Freepik from www.flaticon.com is licensed by CC 3.0 BY