Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
kontaras opened this issue Sep 20, 2021 · 4 comments

Comments

@kontaras
Copy link

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()
}
@purple52
Copy link

@kontaras I just hit exactly the same error. I was using Gradle 7.2. Downgrading to Gradle 6.8.3 made this go away, so I'm guessing Pygradle doesn't like Gradle 7.x.

@kmgowda
Copy link

kmgowda commented May 29, 2022

I am also seeing this issue with gradle 7.3.3 ; i urge com.linkedin.python to fix this issue ASAP

@pranavpsawant
Copy link

Any update on this one. This limits us from upgrading Gradle.

@lazarillo
Copy link

The project is no longer maintained. So, it can only be fixed or updated by someone from the community. 😞

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants