We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb5439b commit 92a7f91Copy full SHA for 92a7f91
java/src/main/kotlin/cc/unitmesh/idea/provider/JavaBuildSystemProvider.kt
@@ -79,7 +79,8 @@ open class JavaBuildSystemProvider : BuildSystemProvider() {
79
80
/// collect Gradle dependencies
81
ModuleUtilCore.findModuleForFile(psiFile)?.also {
82
- val moduleData = CachedModuleDataFinder.findMainModuleData(it)
+// val moduleData = CachedModuleDataFinder.findMainModuleData(it)
83
+ val moduleData = CachedModuleDataFinder.findMainModuleData(project, it.moduleFilePath)
84
val libDepData = ExternalSystemApiUtil.findAllRecursively<LibraryDependencyData?>(
85
moduleData,
86
ProjectKeys.LIBRARY_DEPENDENCY
0 commit comments