scoverage / gradle-scoverage

A plugin to enable the use of Scoverage in a gradle Scala project
Apache License 2.0
53 stars 38 forks source link

Task with name 'compileScoverageScala' not found in project #133

Closed nathan815 closed 4 years ago

nathan815 commented 4 years ago

Whenever I add the plugin to build.gradle I get this error:

A problem occurred configuring project '***'.
> Task with name 'compileScoverageScala' not found in project '***'.
buildscript {
    repositories {
        maven {
            url "https://plugins.gradle.org/m2/"
        }
    }
    dependencies {
        classpath "gradle.plugin.org.scoverage:gradle-scoverage:3.2.0"
    }
}

apply plugin: "org.scoverage"

Has anyone came across this?

eyalroth commented 4 years ago

Could you provide more information?

What does your complete build file looks like? What command are you running?

nathan815 commented 4 years ago

This error occurred for any gradle tasks including build, test, etc.

It seems like it is something to do with my employer's custom build system. Unfortunately I won't be able to post the complete build files here (there are multiple), but I think I have figured it out now. Thanks!