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.5 (latest)
Created 09 October 2018.
Add this plugin to your build using the plugins DSL:
plugins {
id("com.banner.versions.ribbonizer") version "1.2.5"
}
See also:
-
Adding the plugin to build logic for usage in precompiled script plugins.
See the relevant documentation for more information.
Add this plugin as a dependency to
<convention-plugins-build>/build.gradle(.kts)
:dependencies { implementation("com.banner.versions.ribbonizer:com.banner.versions.ribbonizer.gradle.plugin:1.2.5") }
It can then be applied in the precompiled script plugin:plugins { id("com.banner.versions.ribbonizer") }
-
The legacy method of plugin application.
See the relevant documentation for more information.buildscript { repositories { gradlePluginPortal() } dependencies { classpath("com.banner.versions.ribbonizer:com.banner.versions.ribbonizer.gradle.plugin:1.2.5") } } apply(plugin = "com.banner.versions.ribbonizer")
- Applying plugins to all subprojects .