gradle-plugins icon indicating copy to clipboard operation
gradle-plugins copied to clipboard

Script fails to compile

Open radarsh opened this issue 7 years ago • 0 comments

I am trying to use the colored-test-output plugin but when I add it to my buid.gradle I get the below compilation error.

$ gradle test

FAILURE: Build failed with an exception.

* Where:
Script 'https://raw.github.com/brunodecarvalho/gradle-plugins/master/colored-test-output.gradle' line: 1

* What went wrong:
Could not compile script 'https://raw.github.com/brunodecarvalho/gradle-plugins/master/colored-test-output.gradle'.
> startup failed:
  script 'https://raw.github.com/brunodecarvalho/gradle-plugins/master/colored-test-output.gradle': 1: unable to resolve class org.gradle.logging.StyledTextOutput
 @ line 1, column 1.
     import org.gradle.logging.StyledTextOutput
     ^

  script 'https://raw.github.com/brunodecarvalho/gradle-plugins/master/colored-test-output.gradle': 3: unable to resolve class org.gradle.logging.StyledTextOutput
 @ line 3, column 1.
     import static org.gradle.logging.StyledTextOutput.Style
     ^

  2 errors


* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

I am using Gradle 3.5

radarsh avatar Jun 02 '17 13:06 radarsh