apache / apache/netbeans

Confusing project layout for combined java/kotlin gradle project

Open
#8,044 0 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 latest daily build

### What happened

I work on combined java/kotlin gradle project so I have separated source folders for java and kotlin files.
But in opened in IDE project I see next source nodes: Source Packages (where java files lies), Source Packages [kotlin][main] (where I see kotlin files) and last one Source Packages [kotlin][java]
And under last node I see java files again. That is unexpected

### Language / Project Type / NetBeans Component

combined java/kotlin gradle project

### How to reproduce

Open gradle project both with java and kotlin plugins connected

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

No / Don't know

### Operating System

Ubuntu Linux

### JDK

Java: 17.0.10; OpenJDK 64-Bit

### Apache NetBeans packaging

Own source build

### Anything else

_No response_

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

No

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue by opening a combined Java/Kotlin Gradle project with both plugins enabled on Ubuntu. Inspect how the IDE builds the Source Packages nodes; done means Java files are not shown again under Source Packages [kotlin][java].

Written by the indexing model from the issue text.

Assessment

Tech stack
java, kotlin
Domain
developer-experience
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 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.