linkedin / linkedin/pygradle

[0.9.11][Gradle 6.0] - The DefaultSourceDirectorySet constructor has been deprecated. This is scheduled to be removed in Gradle 6.0. Please use the ObjectFactory service to create instances of SourceDirectorySet instead.

Open
#272 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
603
Forks
142
PR merge metrics
No merged PRs in 30d

Description

## Warning:
```
$ gradlew test --warning-mode all

> Configure project :kotlin
The DefaultSourceDirectorySet constructor has been deprecated. This is scheduled to be removed in Gradle 6.0. Please use the ObjectFactory service to create instances of SourceDirectorySet instead.

> Configure project :python
The IvyArtifactRepository.layout(String, Action) method has been deprecated. This is scheduled to be removed in Gradle 6.0. Please use the IvyArtifactRepository.patternLayout(Action) method instead.
at build_axth602easyegl5bumoq1wlxr$_run_closure1.doCall(/Users/<>/repo/cs-interview-questions/python/build.gradle:6)
(Run with --stacktrace to get the full stack trace of this deprecation warning.)

BUILD SUCCESSFUL in 0s
8 actionable tasks: 2 executed, 6 up-to-date
```

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Run `gradlew test --warning-mode all` and inspect the warning output, starting with `python/build.gradle` line 6 and the configuration for the `kotlin` project. Update the deprecated Gradle API usage identified there, then rerun the command and confirm the reported deprecation warnings are gone.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.