mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
including module's configured roots in a configuration fingerprint
This commit is contained in:
@@ -165,6 +165,10 @@ public final class ModuleBuildTarget extends JVMModuleBuildTarget<JavaSourceRoot
|
||||
|
||||
int fingerprint = getDependenciesFingerprint();
|
||||
|
||||
for (JavaSourceRootDescriptor root : pd.getBuildRootIndex().getTargetRoots(this, null)) {
|
||||
fingerprint += FileUtil.fileHashCode(root.getRootFile());
|
||||
}
|
||||
|
||||
final LanguageLevel level = JpsJavaExtensionService.getInstance().getLanguageLevel(module);
|
||||
if (level != null) {
|
||||
fingerprint += level.name().hashCode();
|
||||
|
||||
Reference in New Issue
Block a user