Class org.gradle.api.internal.project.DefaultProject_Decorated does not implement the requested interface org.gradle.api.internal.file.FileOperations
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 603
- Forks
- 142
- PR merge metrics
- No merged PRs in 30d
Description
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()
}
```
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing `gradle tasks` with the shown build.gradle and capture a stack trace. Inspect ValidationPlugin and PyCoverageTask, then compare the project’s Gradle/plugin compatibility assumptions. Done means the sample pygradle project applies com.linkedin.python 0.9.11 and completes `gradle tasks` without the reported error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, python
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100