title: How to use provided scope for jar file in Gradle build?
body: <p>I need to use Amazon Maps and Amazon Messaging in my apps.</p>
  
  <p>With gradle, I did not succeed in adding the Amazon dependencies with a "provided" scope <a href="https://developer.amazon.com/sdk/maps/building.html#Configuring">as they need to be</a> :</p>
  
  <blockquote>
    <p>The JAR file contains stub implementations of the Amazon Maps API. It does not contain actual implementations of the Maps API classes, so you should not compile the JAR into your app.</p>
  </blockquote>
  
  <p><a href="https://forums.developer.amazon.com/forums/message.jspa?messageID=4256">None of the solutions provided by Amazon support worked</a> for me. </p>
  
  <p>If someone succeeded to use amazon maps or amazon messaging with Gradle, please share your build.gradle file here.</p>