title: Use dependency from library module in app module
body: <p>Maybe it's a silly question, but want to collect an app's dependencies to library.(so I can easily manage all dependency's version)</p>
  
  <p>app/build.gradle</p>
  
  <pre><code>api project(path: ':library')
  </code></pre>
  
  <p>library/build.gradle</p>
  
  <pre><code>dependencies {
      implementation 'com.google.code.gson:gson:2.8.2' &lt;- gson is just example, it can be anything.
  }
  </code></pre>
  
  <p><br><br>
  In the above situation <b>Can I use Gson from MainActivity.class? It seems to not be working.. </b></p>
  
  <p>If not, is there a way to achieve this?</p>
  
  <p>I don't want to add the same dependency to both the app and library. If Gson is updated, I have to modify two positions, I hate it! :( </p>