项目作者: memfis19

项目描述 :
Gradle plugin to modify android app icon.
高级语言: Kotlin
项目地址: git://github.com/memfis19/Tape.git
创建时间: 2018-07-16T14:10:45Z
项目社区:https://github.com/memfis19/Tape

开源协议:MIT License

下载


Tape

Download
Build Status
Android Arsenal

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 (using Apache Batik).

How to add?

  1. Add buildscript dependency: classpath 'me.surzhenko.rodion:tape:1.1.0'
  2. Apply plugin: apply plugin: 'icon-tape'

How to use?

To start using you should add next extension section to your app build.gradle script, i.e.:

  1. tape {
  2. stripeColor = 0xCC991155
  3. textColor = 0xFFDDAA11
  4. fontSize = 36
  5. text = ["Test", "Dev"]
  6. buildTypes = ["debug"]
  7. }

Please notice that color supports transparency so please pass alpha in color values too.

Sample

Bugs and Feedback

For bugs, feature requests, and discussion please use GitHub Issues.

LICENSE

MIT License

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the “Software”), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, 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 THE
SOFTWARE.