-
Notifications
You must be signed in to change notification settings - Fork 57
Open
Description
I have a multi-module project which has only one src directory for all subprojects. The srcDirs then use an include to select the correct packages:
subprojects {
sourceSets {
main {
java {
srcDirs = ["${rootDir}/src/main/java"]
include 'some/common/prefix/' + project.name.replace('-', '/') + '/**'
}
}
}
}
This works as far as all packages, that are not included, are empty in the project view. Java files in included packages are correctly shown in the project view.
If I try to open a class that I can clearly see in the project view via "Go To Type", the class is not found. This also affects imports of classes from the same subproject. The imports are highlighted with "package not found".
Metadata
Metadata
Assignees
Labels
No labels
