gradle-console-reporter icon indicating copy to clipboard operation
gradle-console-reporter copied to clipboard

Extension with name 'consoleReporter' does not exist

Open ardevd opened this issue 5 years ago • 7 comments

After updating to 0.6.2 I get the following error when building:

Extension with name 'consoleReporter' does not exist

Any idea why that might be? I'm coming from 0.5.0.

ardevd avatar Apr 25 '19 10:04 ardevd

never mind, moving apply plugin: 'com.github.ksoichiro.console.reporter' from app/build.gradle to the project level build.gradle solved it.

ardevd avatar Apr 25 '19 10:04 ardevd

applying the plugin in the project level build.gradle file doesnt seem to work very well. I still think there is an issue here since v0.5.0 works fine.

ardevd avatar Apr 25 '19 21:04 ardevd

v0.6 has a breaking change (a9afddfdf). It might be related to your issue. Could you show me some sample code to reproduce your problem?

ksoichiro avatar Apr 25 '19 23:04 ksoichiro

same here with Gradle 5.4.1 and Java 8 131. This applies when I have the following in a sub project:

plugins {
  id "com.github.ksoichiro.console.reporter" version "0.6.2"
}

If I put it on top level, gradle does not complain, but the reporter does not report anything in the subproject.

toedter avatar May 02 '19 09:05 toedter

I have the same issue since I have updated to gradle 5.1.1

Extension with name 'consoleReporter' does not exist

hamadycisse avatar May 09 '19 16:05 hamadycisse

Any resolution to this issue? I'm facing the same Extension with name 'consoleReporter' does not exist error.

imGurpreetSK avatar Jul 25 '19 06:07 imGurpreetSK

If you use Kotlin DSL then you can only access consoleReporter from the root project area, but you can't modify any config because they are not properly registered to receive something. I tried using .run and while it looks like it has access, it doesn't seem to change behaviors.

mattdkerr avatar Aug 16 '19 23:08 mattdkerr