Building for production, gradle error: could not determine dependencies

LabKey Support Forum (Inactive)
Building for production, gradle error: could not determine dependencies Matt V  2017-10-13 11:44
Status: Closed
 
Hi Susan,

The build script checks out the source from SVN (https://hedgehog.fhcrc.org/tor/stedi/branches/release17.2/) to /build/<environment>/web/source. In this case, <environment> is QA. Our modules are next cloned in. Then, the script runs the gradle wrapper from within that source directory, /build/QA/webapp/source. For completeness, there's an equivalent /build/<env>/database directory for db related items (no issues here).

I quickly swapped the "web" directory to "webapp" and the same error persists. Still builds fine without the production flag. Attempting to build manually from that directory

When I look more closely at the directories, it appears that my dev copy in another directory has quite a few files that are missing from the freshly checked out SVN version. For example, /server/modules/core/resources/scripts/labkey/Filter.js (in dev, not in svn checkout). There are roughly 70 files missing or incomplete like this.

Maybe I'm missing a step for a branch new build since this doesn't ever hit IntelliJ? I don't see them when browsing the svn trunk either.