gradle build: intellij hot swapping not working anymore?

LabKey Support Forum (Inactive)
gradle build: intellij hot swapping not working anymore? Ben Bimber  2017-12-11 14:02
Status: Closed
 
Hi Jon,

Attached is an export from intellij's console after rebuild (Build -> Rebuild Project). Parameter.java is a good example. Errors are along the lines of:

C:\discvr17.2\server\api\src\org\labkey\api\data\Parameter.java
    Error:Error:line (19)java: package com.google.common.primitives does not exist
    Error:Error:line (451)java: cannot find symbol
  symbol: variable Ints
  location: class org.labkey.api.data.Parameter
C:\discvr17.2\server\api\src\org\labkey\api\view\template\ClientDependency.java
    Error:Error:line (18)java: package com.google.common.collect does not exist
    Error:Error:line (127)java: cannot find symbol
  symbol: variable Sets
  location: class org.labkey.api.view.template.ClientDependency

Which doesnt make sense to me since google commons should be available. I have Intellij 2017.2.5 and am running a branch based on 17.2. I am using gradle plugin 1.2. 'gradle deployApp' works fine, so I assume this is something Intellij isnt getting right.

Thanks,
Ben