Gradle dependency cache

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Gradle dependency cache

mlb1141
I am learning Gradle and was considering using Artifactory as a repository manager. If I do, will all my dependencies be stored twice, once in Artifactory and again in the Gradle dependency cache? Thanks for any input you can provide on this.
Reply | Threaded
Open this post in threaded view
|

Re: Gradle dependency cache

HughG_TMVSE

Hi Mykel,

 

yes, that’s right.  Generally the reason to use a separate repo manager like Artifactory is to share dependencies with other people, just as with a central source control server.  So there would be one copy on the Artifactory server, and another on the client machine of each developer.

 

If it’s just you, there may be no great advantage to storing things in Artifactory.  You can just store things in folders on your local disk in the same layout as you would in Artifactory, and point Gradle to them using a “file:” URL.  In this case, Gradle won’t bother “downloading” them to a separate Gradle cache, and will just use them in-place.

 

Hope that helps,

 

Hugh Greene, Senior Software Developer
Toshiba Medical Visualization Systems Europe, Ltd
Bonnington Bond, 2 Anderson Place, Edinburgh EH6 5NP, UK
Tel + 44 (0)131 472 4792 / Fax + 44 (0) 131 472 4799
http://www.tmvse.com / [hidden email]

 

DISCLAIMER
Unless indicated otherwise, the information contained in this message is privileged and confidential, and is intended only for the use of the addressee(s) named above and others who have been specifically authorized to receive it. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message and/or attachments is strictly prohibited. The company accepts no liability for any damage caused by any virus transmitted by this email. Furthermore, the company does not warrant a proper and complete transmission of this information, nor does it accept liability for any delays. If you have received this message in error, please contact the sender and delete the message.

 

From: mlb1141 [mailto:[hidden email]]
Sent: 16 March 2015 11:14
To: [hidden email]
Subject: [Artifactory-users] Gradle dependency cache

 

I am learning Gradle and was considering using Artifactory as a repository manager. If I do, will all my dependencies be stored twice, once in Artifactory and again in the Gradle dependency cache? Thanks for any input you can provide on this.


View this message in context: Gradle dependency cache
Sent from the Artifactory - Users mailing list archive at Nabble.com.

______________________________________________________________________
This email has been scanned by the Symantec Email Security.cloud service.
For more information please visit http://www.symanteccloud.com
______________________________________________________________________


______________________________________________________________________
This email has been scanned by the Symantec Email Security.cloud service.
For more information please visit http://www.symanteccloud.com
______________________________________________________________________

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Artifactory-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/artifactory-users
Reply | Threaded
Open this post in threaded view
|

Re: Gradle dependency cache

mlb1141
Hugh, thanks very much.