maskarade / gradle-android-ribbonizer-plugin

Modifies launcher icons on debug build
https://bintray.com/gfx/maven/ribbonizer-plugin
MIT License
355 stars 38 forks source link

"Could not find method customColorRibbonFilter" #15

Closed pamartineza closed 7 years ago

pamartineza commented 7 years ago

I'm trying to use a custom color but I get a gradle build error

ribbonizer {
    // "manifest application[android:icon]" is automatically added to the list

    builder { variant, iconFile ->
        // change ribbon colors by product flavors or build type
        if (variant.buildType.name == "debug") {
            return customColorRibbonFilter(variant, iconFile, "#FF0000")
        }
    }

}
mannodermaus commented 7 years ago

Just in case you haven't resolved this yet: Update your dependency version to 1.0.0, the custom color filter wasn't yet included in 0.6.0. I just ran into the same issue!

pamartineza commented 7 years ago

@aurae thanks, you are right, I was using old 0.6.0 version, @gfx the README is not yet updated