Wait, hang on. It works properly when I build from...
# javascript
g
Wait, hang on. It works properly when I build from console, but not when I build from IntelliJ. Wat?
b
try to reimport (resync/refresh) the project
g
tried that already, with no success
it looks like IntelliJ doesn't actually call
gradle build
when I build 🤔
i
You need to delegate IDE build/run actions to Gradle.
g
Yes, I ‘solved’ it by creating a run configuration. But it’s a little annoying that the “Build” action apparently uses a different toolchain that ignores mu build.gradle file and there is seemingly nothing to be done about it ?
b
Try to on
Delegate IDE build/run actions to Gradle
in
Settings / Preferences Dialog > Build, Execution, Deployment > Gradle > Runner
g
That’s amazing.