I need to use Amazon Maps and Amazon Messaging in my apps.
With gradle, I did not succeed in adding the Amazon dependencies with a \"provided\" scope as they need to
There is a prodeps plugin which adds additional optional and provided dependency configurations for Gradle
...
apply plugin: 'propdeps'
...
buildscript {
repositories {
maven { url 'http://repo.spring.io/plugins-release' }
}
dependencies {
classpath 'org.springframework.build.gradle:propdeps-plugin:0.0.7'
}
}
...
dependencies {
...
provided('android:android:2.2_r3')
...
}
...