Skip to content
forked from rharter/vd-tool

Android Studio's Vector Drawable conversion tool in convenient packaging.

License

Notifications You must be signed in to change notification settings

twogate/vd-tool

 
 

Repository files navigation

Vector Drawable Tool

This repository is simply a repackaging of the vector drawable tool from the Android Studio source code. The included Gradle files take care of downloading and extracting the latest source code, allowing you to build the command line tool, without the need to download the entire AOSP.

Usage

Download the latest release, extract it wherever you'd like, and run the tool.

curl -L -o /tmp/vd-tool.zip https://github.com/rharter/vd-tool/releases/latest/download/vd-tool.zip
mkdir ~/bin
unzip /tmp/vd-tool.zip -d ~/bin
~/bin/vd-tool/bin/vd-tool --help

Building

Since this repository doesn't contain the actual source code of the tool, you first need to run the fetchSources task, which will download and extract the source. Then you can use standard run and assembleDist tasks to build the project.

# First fetch the sources
./gradlew fetchSources

# Assemble the distributions
./gradlew assembleDist

# Or simply run the tool directly from Gradle
./gradlew run --args="--help"

License

Copyright (c) 2022 Ryan Harter

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

About

Android Studio's Vector Drawable conversion tool in convenient packaging.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Kotlin 64.2%
  • Shell 35.8%