gradle build: intellij hot swapping not working anymore?

LabKey Support Forum (Inactive)
gradle build: intellij hot swapping not working anymore? Susan Hert  2017-11-27 19:09
Status: Closed
 
Hi, Ben,

It is also worth mentioning here that the latest versions of IntelliJ will put the output files generated by the gradle build done within IntelliJ in a directory called "out" at the root of the modules' source (e.g., server/modules/core/out). This resulted in a couple of bugs in our gradle plugins, which have been fixed in the version 1.2 of the gradlePlugins jar (compatible with LabKey 17.2 and later). This version also introduces a task 'cleanOut' for each module, which will remove the out directory that IntelliJ creates. See the description in the tasks list (e.g., ./gradlew :server:modules:core:tasks) for the full path of the directory that will be removed by this task. To remove all of the 'out' directories, simply run the cleanOut task at the root level (i.e., ./gradlew cleanOut).

Susan