title: Gradle: use dependency from local AND from repo
body: <p>I have two projects, let's call them Application and Library, where Application depends on Library. Normally Library is developed in its own project and published to a repository (our internal JFrog); and in Application's build.gradle it is specified as dependency.</p>
  
  <p>So far so good. But once in a while if I am working on both, I would like Application to depend on the Library code as checked out locally, so that I don't have to build the Library, publish it to the repository, change the version in build.gradle of Application and rebuild.</p>
  
  <p>What is the best way of achieving that (if this behavior can be parameterized in Gradle via some environment variable or such would be even better)?</p>