How to make an Android Library available via build.gradle?

前端 未结 3 1512
感动是毒
感动是毒 2021-01-14 16:30

I made an android library that I\'d like upload to make it available for all the android devs via build.gradle. I\'ve followed these steps and these steps, but this is the f

3条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2021-01-14 17:06

    Gradle Fetch the Dependency libraries from Maven Repository you have to upload the package to the Maven Repo or just put the library in the /libs folder and put this under dependencies block:

    compile fileTree(include: ['*.jar'], dir: 'libs')
    

    You can see a guide to upload a library to the maven repo Here

提交回复
热议问题