mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 14:23:28 +07:00
Revert "[gradle][IDEA-359475] prevent cache misses in the Gradle Model Cache using an OS dependent hash for the root build path"
This reverts commit a5736802b7402a51f8e166f790207ff1d1bef4e5. (cherry picked from commit d8ca055de298c70eec1ce09a00f08200e2abc308) IJ-CR-146796 GitOrigin-RevId: 3d2f2b2ecf884f905d6a5aaf4571460b92f27fce
This commit is contained in:
committed by
intellij-monorepo-bot
parent
dbee69ed0b
commit
836e5e4435
@@ -85,8 +85,8 @@ public final class GradleModelId implements Serializable {
|
|||||||
|
|
||||||
public static @NotNull String createBuildId(@NotNull BuildIdentifier buildIdentifier) {
|
public static @NotNull String createBuildId(@NotNull BuildIdentifier buildIdentifier) {
|
||||||
String path = buildIdentifier.getRootDir().getPath();
|
String path = buildIdentifier.getRootDir().getPath();
|
||||||
int pathHash = FileUtilRt.pathHashCode(path);
|
String systemIndependentName = FileUtilRt.toSystemIndependentName(path);
|
||||||
return String.valueOf(pathHash);
|
return String.valueOf(systemIndependentName.hashCode());
|
||||||
}
|
}
|
||||||
|
|
||||||
private static @NotNull ProjectIdentifier getProjectIdentifier(@NotNull ProjectModel project) {
|
private static @NotNull ProjectIdentifier getProjectIdentifier(@NotNull ProjectModel project) {
|
||||||
|
|||||||
Reference in New Issue
Block a user