-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow other repositories #3
Comments
Hi Tiger, yes indeed I've been thinking about it, I don't want to mess with the ~/.m2/settings.xml but I think I can add it to the generated pom. for future reference : http://stackoverflow.com/questions/71030/can-i-add-maven-repositories-in-the-command-line |
Could have this api : maven.repositories do
repository 'https://bintray.com/bintray/jcenter'
end |
Why not adding a
|
yes indeed this is what I wanted to write, but it was too early for me probably... |
@TigerWolf hey I just pushed 1.1.0 with support for repositories (see README), can you try and tell me if it works for you please ? |
Thanks for doing this. I will try it out today. |
Check out: |
Yes, I forgot to add the erb file, just pushed update, should be good now. |
Possibly unrelated but I am not able to download the jar from JCenter. http://dl.bintray.com/austintaylor/maven/com/uservoice/uservoice-android-sdk/ https://bintray.com/austintaylor/maven/com.uservoice%3Auservoice-android-sdk/view
Maybe because its an ARR file? http://dl.bintray.com/austintaylor/maven/com/uservoice/uservoice-android-sdk/1.2.2/ |
Its works for |
yes, I'm investigating concerning uservoice, there might be an issue with .aar file after, but I think there's another issue before |
Ok. if you use : app.maven do
repository 'https://bintray.com/bintray/jcenter'
repository 'http://dl.bintray.com/austintaylor/maven'
dependency 'com.uservoice', :artifact => 'uservoice-android-sdk', :version => '1.2.2'
end On bintray, when you are on the code page you have to click on "setup me" to find the right repository to add. It will mostly work, I say mostly because you will still have an error with com.android.support:appcompat-v7:jar:21. which is not in bintray, but is in your /extras/android/support/v7/appcompat/ folder. Right now RubyMotion doesn't support it, and you will have to add it by hand, there's a ticket that should fix it in the next weeks : http://hipbyte.myjetbrains.com/youtrack/issue/RM-763 |
Thanks, I will try it out. |
One of the Libraries I would like to use is on JCenter:
https://bintray.com/bintray/jcenter
It appears to be the default repository that Android Studio uses.
Im not very familiar with maven but it looks like this might help:
http://maven.apache.org/guides/mini/guide-mirror-settings.html
It could be done by the user but it would be great if this gem did this.
The text was updated successfully, but these errors were encountered: