Search Gradle plugins

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") ____} __} }

https://github.com/

Sources: https://github.com/username/repo

Version 1.0

1.0

Created 13 September 2018.

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") ____} __} }

Add this plugin to your build using the plugins DSL:

plugins {
  id("com.banner.versions.ribbonizer") version "1.0"
}

See also:

  • The legacy method of plugin application.
    buildscript {
      repositories {
        gradlePluginPortal()
      }
      dependencies {
        classpath("gradle.plugin.Ribbonizer:plugin:1.0")
      }
    }
    
    apply(plugin = "com.banner.versions.ribbonizer")
  • Applying plugins to all subprojects .