- Notifications
You must be signed in to change notification settings - Fork0
Gradle plugin to modify android app icon.
License
memfis19/Tape
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Plugin for android app to modify app icon. Useful for developing purposes i.e. to show deployment kind, build type or version. Supports raster images usually png-s and vector images (usingApache Batik).
- Add buildscript dependency:
classpath 'me.surzhenko.rodion:tape:1.1.0'
- Apply plugin:
apply plugin: 'icon-tape'
To start using you should add next extension section to your appbuild.gradle
script, i.e.:
tape { stripeColor = 0xCC991155 textColor = 0xFFDDAA11 fontSize = 36 text = ["Test", "Dev"] buildTypes = ["debug"]}
Please notice that color supports transparency so please pass alpha in color values too.
For bugs, feature requests, and discussion please useGitHub Issues.
Permission is hereby granted, free of charge, to any person obtaining a copyof this software and associated documentation files (the "Software"), to dealin the Software without restriction, including without limitation the rightsto use, copy, modify, merge, publish, distribute, sublicense, and/or sellcopies of the Software, and to permit persons to whom the Software isfurnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in allcopies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS ORIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THEAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHERLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THESOFTWARE.