To get a Git project into your build:
Step 1. Add the JitPack repository to your build file
allprojects {
repositories {
maven { url 'https://jitpack.io' }
}
}
Step 2. Add the dependency
dependencies {
implementation 'com.github.DREARMING:DropDownMenu:1.1.3'
}
注意:该库是基于开源库 https://github.com/baiiu/DropDownMenu.git 进行二次开发的,由于上述开源库的作者没有提供gradle依赖,为了调用方便,上传到github的.
若有不恰当的地方,请联系我删除!1258235316@qq.com