Skip to content

Class org.gradle.api.internal.project.DefaultProject_Decorated does not implement the requested interface org.gradle.api.internal.file.FileOperations #353

@kontaras

Description

@kontaras

I am trying out to create a new pygradle project and get the following error:

gradle tasks

FAILURE: Build failed with an exception.

* Where:
Build file '/Users/knaryshkin/git/LegendaryStats/utils/db_gen/build.gradle' line: 2

* What went wrong:
An exception occurred applying plugin request [id: 'com.linkedin.python', version: '0.9.11']
> Failed to apply plugin class 'com.linkedin.gradle.python.plugin.internal.ValidationPlugin'.
   > Could not create task ':coverage'.
      > Could not create task of type 'PyCoverageTask'.
         > Class org.gradle.api.internal.project.DefaultProject_Decorated does not implement the requested interface org.gradle.api.internal.file.FileOperations

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

* Get more help at https://help.gradle.org

BUILD FAILED in 3s
cat build.gradle 
plugins {
    id "com.linkedin.python" version "0.9.11"
}

repositories {
   pyGradlePyPi()
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions