How to use provided scope for jar file in Gradle build?

后端 未结 5 855
情深已故
情深已故 2020-12-03 00:49

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

5条回答
  •  伪装坚强ぢ
    2020-12-03 01:30

    There's now a great plugin from Netflix, gradle-extra-configurations-plugin. It provides a provided and optional scope. No more manual plumbing necessary and also generates the required metadata when pubishing e.g to a maven repository.

提交回复
热议问题