Notes on running the sandbox on windows - see thre...
# kmdc
g
Notes on running the sandbox on windows - see thread:
First there might be a bug in the refresh versions plugin that didn't correctly pick up the file references in the versions.properties and versions.rules files in the sandbox folder. So I copied over the files from the base kmdc folder.
The second item is that the gradlew.bat file in the sandbox directory doesn't work. I need to use ..\gradlew -t jsBrowserRun when running with the sandbox directory as the working directory.
The third item is in build.gradle.kts, I had to use js(IR). Using only js it wasn't picking up any of the dependencies. This item may not have anything to do with my using windows, but rather something with my build environment. But when I ran the build in an entirely separate environment on Windows Subsystem for Linux, it worked out of the box.
b
Ah, you need to enable windows symlinks in git before cloning. I hate that windows will always be a special case when considering cross platform env setup...
Or just use git bash instead of cmd terminal
Once you get symlinks working, all of your issues should be resolved (including js(IR))
g
ok that worked. Git's behavior here is very bad - it creates new placeholder files silently, without any warnings given.
I can compile using Gradle from the command line now, but Intellij can't find most dependencies in the sandbox - the KMDC modules are ok. Do you have any suggestions for resolving that?
b
Sandbox needs to be imported into intellij separately. Open Gradle side-menu, cllick
+
, select
sandbox/build.gradle.kts
and hit
OK