diff --git a/brachyura/src/main/java/io/github/coolcrabs/brachyura/ide/Intellijank.java b/brachyura/src/main/java/io/github/coolcrabs/brachyura/ide/Intellijank.java index 2df57011..0abf153e 100644 --- a/brachyura/src/main/java/io/github/coolcrabs/brachyura/ide/Intellijank.java +++ b/brachyura/src/main/java/io/github/coolcrabs/brachyura/ide/Intellijank.java @@ -52,10 +52,10 @@ public void updateProject(Path projectRoot, IdeModule... ideModules) { Path ideaPath = projectRoot.resolve(".idea"); if (Files.exists(ideaPath)) { - // Delete everything in .idea except for vcs.xml - // We skip vcs.xml since otherwise we'll reset people's Git configurations + // Delete everything in .idea except for vcs.xml and icon.png/svg + // We skip these since otherwise we'll reset people's configurations try (DirectoryStream files = Files.newDirectoryStream(ideaPath, - file -> !"vcs.xml".equals(file.getFileName().toString()))) { + file -> !(file.getFileName().toString().equals("vcs.xml") || file.getFileName().toString().startsWith("icon.")))) { for (Path file : files) { if (Files.isDirectory(file)) { PathUtil.deleteDirectory(file); diff --git a/buildscript/src/main/java/Buildscript.java b/buildscript/src/main/java/Buildscript.java index 9d46c43d..4f4622d3 100644 --- a/buildscript/src/main/java/Buildscript.java +++ b/buildscript/src/main/java/Buildscript.java @@ -243,7 +243,7 @@ public final void test() { public final BJavaModule brachyura = new BJavaModule() { @Override MavenId getId() { - return new MavenId(GROUP, "brachyura", "0.95"); + return new MavenId(GROUP, "brachyura", "0.96"); } @Override