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.2.5 (latest)

1.2.5

Created 09 October 2018.

This plugin version will no longer resolve after JCenter becomes a permanent redirect to Maven Central as it uses dependencies only found in JCenter. See the following blog post for details: https://blog.gradle.org/portal-jcenter-impact 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") ____} __} }

Using the plugins DSL:

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

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("gradle.plugin.ribbonizer-gradle:plugin:1.2.5")
  }
}

apply(plugin = "com.banner.versions.ribbonizer")

Using the plugins DSL:

plugins {
  id "com.banner.versions.ribbonizer" version "1.2.5"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.ribbonizer-gradle:plugin:1.2.5"
  }
}

apply plugin: "com.banner.versions.ribbonizer"

Learn how to apply plugins to subprojects