[英]Second maven repository in gradle on an Android Project
this is the way I added facebook repository in order to use FacebookSDK on an gradle-based android project 这是我添加Facebook存储库以便在基于gradle的android项目上使用FacebookSDK的方式
repositories {
mavenCentral()
mavenLocal()
maven {
url "http://mente.github.io/facebook-api-android-aar"
}
}
Now I have to add a new repository for the umano sliding menu ( https://github.com/umano/AndroidSlidingUpPanel ). 现在,我必须为umano滑动菜单添加一个新的存储库( https://github.com/umano/AndroidSlidingUpPanel )。
I've tried something like this (but it obviously doesn't work): 我已经尝试过类似的方法(但显然不起作用):
repositories {
mavenCentral()
mavenLocal()
maven {
url "http://mente.github.io/facebook-api-android-aar", "https://bitbucket.org/luciofm/m2repository/raw/master/"
}
}
You need to add it separately: 您需要单独添加:
maven {
url "http://mente.github.io/facebook-api-android-aar"
}
maven {
url "https://bitbucket.org/luciofm/m2repository/raw/master/"
}
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.