com.banner.versions.ribbonizer
Owner: mubaloo
USAGE in app build.gradle: DefaultRibbonFilter defines debug, qa and release: ribbonizer { __builder { ApplicationVariant variant, File iconFile -> ____return defaultRibbonFilter(variant, iconFile) __} } For other buildTypes use: ribbonizer { __builder { ApplicationVariant variant, File iconFile -> ____if (variant.buildType.name == "buildtype") { ______return customColorRibbonFilter(variant, iconFile, "#backgroundColor") ______// or ______return customColorRibbonFilter(variant, iconFile, "#backgroundColor", "#fontColor") ____} __} }
Sources: https://github.com/username/repo
Version 1.2
1.2
Created 09 October 2018.
Add this plugin to your build using the plugins DSL:
plugins {
id("com.banner.versions.ribbonizer") version "1.2"
}
See also:
-
The legacy method of plugin application.
buildscript { repositories { gradlePluginPortal() } dependencies { classpath("gradle.plugin.ribbonizer-gradle:plugin:1.2") } } apply(plugin = "com.banner.versions.ribbonizer")
- Applying plugins to all subprojects .