title: Creating common between gradle and maven
body: <p>I have two projects. One is a Gradle project (Android app actually) and the other is a Maven project (A spring mvc HTTP Server based on TomCat).</p>
  
  <p>These two projects have some objects that they share (The response object for example).</p>
  
  <p>I would like to create a common project that will hold all the objects that the Gradle and Maven projects need.</p>
  
  <p><strong>What have I tried?</strong></p>
  
  <p>Well, I know building a project in Maven will add its artifacts to .m2 local repository, which can at least be shared by 2 Maven local projects. But I don't know as much about Gradle and how to share artifacts with it.</p>
  
  <p>I would appreciate any advice you can give me to point me in the right direction.</p>
  
  <p>Thanks in advance.</p>