Issues including external dependencies in 17.2 with gradle

LabKey Support Forum (Inactive)
Issues including external dependencies in 17.2 with gradle Susan Hert  2017-09-20 15:31
Status: Closed
 
Hi, Matt,

I think the problem is that our repository did not have this artifact cached and as an anonymous user to the artifact repository you are not allowed to add things to the cache. Since I have now accessed this artifact while trying to troubleshoot, it will probably work for you now.

I see that in our build.gradle file, we are not including jcenter as one of the repositories (since we proxy for that with our artifactory instance), but I believe we should, for cases such as this. So you can modify your root-level build.gradle file to include jcenter and hopefully prevent such problems in the future. To do this, add the following line at the end of the repositories closure around line 135 of the root build.gradle file:

  jcenter()

I will get this change included in the 17.3 release.

Susan