gradle / gradle/playframework

Plugins use Configuration.setVisible()

Open Beginner friendly
#218 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Java
Stars
47
Forks
41
PR merge metrics
No merged PRs in 30d

Description

Since Gradle 9.0.0, the `Configuration.setVisible()` method no longer has a meaningful effect. We will be deprecating this method in Gradle 9.8.0 with eventual removal in Gradle 11.0.0.

The `PlayJavaScriptPlugin`, `PlayRoutesPlugin` and `PlayTwirlPlugin` classes all call this method.

Since this method has no effect any more, the correct resolution here would be to simply remove the method call.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the PlayJavaScriptPlugin, PlayRoutesPlugin, and PlayTwirlPlugin classes and find their Configuration.setVisible() calls. Remove those calls, then run the repository's existing test suite to confirm the plugins still behave correctly and no deprecated API usage remains.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
build-system
Issue type
Refactor
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Clearly specified
Newbie friendliness
82/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.