How do I ship an Android Library (aar) with remote dependencies (gradle)?

前端 未结 2 884
慢半拍i
慢半拍i 2020-12-10 12:48

I am trying to build an aar file with gradle that has remote dependencies. An example build script is below. As you can see I have two dependencies. The problem I\'m having

2条回答
  •  执笔经年
    2020-12-10 13:16

    try using the transitive attribute:

    compile ('group_id:artifact_id:version_name@aar'){
        transitive = true
    }
    

提交回复
热议问题