apache / apache/netbeans

Kotlin classes not seen across Gradle subprojects

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

Description

### Apache NetBeans version

Apache NetBeans 28 latest daily build

### What happened

Once I open Gradle multi-module project contains both Java and Kotlin classes I see error badges in editor over Kotlin classes imported to one sub-project from other.

### Language / Project Type / NetBeans Component

Gradle multi-module project with Java/Kotlin sources

### How to reproduce

Open attached demo project

[MixedLangProject.zip](https://github.com/user-attachments/files/22425451/MixedLangProject.zip)

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

No / Don't know

### Operating System

Ubuntu Linux / Windows

### JDK

Java: 17.0.10; OpenJDK 64-Bit Server VM 17.0.10+13-LTS

### 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

Start by opening the attached MixedLangProject.zip in an Apache NetBeans 28 daily build on a multi-module Gradle project containing Java and Kotlin sources. Reproduce the editor error badges on Kotlin classes imported between subprojects, then verify that those badges no longer appear while cross-project Kotlin references resolve correctly.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, kotlin
Domain
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.