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

后端 未结 5 903
情深已故
情深已故 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:36

    A little late to the show, using gradle you copy the .jar to the libs folder and in your gradle file you have:

    dependencies {
     ....
     provided files('libs/someLibrary')
     ....
    }
    

提交回复
热议问题