[Solved] Custom plugin in 2.14.1: Project#logger is not usable

Gradle Version: 2.14.1
Operating System: Fedora 24
Is this a regression? If yes, which version of Gradle do you know it last worked for?

Sample code:

apply plugin: 'java'

apply plugin: Test

class Test implements Plugin<Project> {

    void apply(Project project) {
        // this is ok
        println 'Calling println()'

        // this line fails to build; comment out to be able to build
        project.logger.quite 'Calling logger.quite()'



A problem occurred evaluating root project 'master'.
> Failed to apply plugin [class 'Test']
   > No signature of method: org.gradle.internal.logging.slf4j.OutputEventListenerBackedLogger.quite() is applicable for argument types: (java.lang.String) values: [Calling logger.quite()]
     Possible solutions: quiet(java.lang.String), quiet(java.lang.String, [Ljava.lang.Object;), quiet(java.lang.String, java.lang.Throwable), wait(), wait(long), trace(java.lang.String)

Would you please check?

Thank you,

You have a typo in your method call. It should be quiet instead of quite.

1 Like

Thank you very much. Shame on me :smiley: