I am currently trying to figure out, how I can use the HotSwap functionality.
I am using Intelij Idea and followed the whole tutorial from this series:
I made a local copy of the current stable 7.1 git repository and integrated my plugin as an artifact.
I am able to debug, but when I am using the “Reload changed classes” functionality, it tries to rebuild sponge and my plugin and I receive the following error:
Unable to find source java class: ‘C:\Users\gottw.gradle\caches\minecraft\net\minecraftforge\forge\1.12.2-220.127.116.1138\start\GradleStartServer.java’ because it does not belong to any of the source dirs: '[D:\SpongeForge\testmods\src\main\java]*
The strange thing is that the file at C:\Users\gottw.gradle\caches\minecraft\net\minecraftforge\forge\1.12.2-18.104.22.16838\start\GradleStartServer.java is present.
I am completely new to Intelij Idea and Sponge, but I would like to be able to use the HotSwap functionality. Does anybody of you have an idea what kind of problem I have and how I can solve it?
Has it something todo, that the project workspace is on disk D and the cache on C?
I would appreciate any help! Thanks in advance
----- Edit -----
My run configuration: