apache / apache/netbeans

Gradle : gradle.properties on [root] : Changes are not detected

Open
#4,676 2 comments 0 reactions 0 assignees View on GitHub
Gradle kind:bug needs:triage
Dominant language
Java
Stars
3.1k
Forks
935
Avg merge
2d 3h
Merged PRs (30d)
17

Description

### Apache NetBeans version

Apache NetBeans 15

### What happened

We have a gradle main project with subprojects. Some sub projects have an extra source set which is defined based on a property set in gradle.properties in the root folder.

In Netbeans 14, if we changed the gradle.properties file, Netbeans detected the change and reloaded all the required sub projects.
In Netbeans 15 , this doesn't happen anymore.

I have deleted the cache of NB15, and now even if I reload manually the project, the incorrect source folder is visible in the project tree.

### How to reproduce

_No response_

### Did this work correctly in an earlier version?

Apache NetBeans 14

### Operating System

Windows 10

### JDK

JDK 11

### Apache NetBeans packaging

Apache NetBeans provided installer

### Anything else

_No response_

### Are you willing to submit a pull request?

No

### Code of Conduct

Yes

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the issue in Apache NetBeans 15 on Windows 10 with a Gradle main project, subprojects, and a root gradle.properties value that controls an extra source set. Compare edits and reload behavior with NetBeans 14; done means changing the root property reloads the required subprojects and updates the source folder shown in the project tree.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
build-system, devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.