Skip to content
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

Add compiled gradle AAR to Maven repository #83

Closed
fabriciomassula opened this issue Dec 23, 2013 · 44 comments
Closed

Add compiled gradle AAR to Maven repository #83

fabriciomassula opened this issue Dec 23, 2013 · 44 comments

Comments

@fabriciomassula
Copy link

It would be nice, according with the new Android dev headlines.

It was perfect if I could use somethink like this on my build.gradle:

compile 'com.sothree.slidinguppanel:slidinguppanel:+'

Thank You for the awesome library

@tadfisher
Copy link

+1

@tmsbn
Copy link

tmsbn commented Dec 27, 2013

+1.. guys please make this happen..lot of us hv shifted to using Intellij IDEA and Android Studio lately

@tokudu
Copy link
Contributor

tokudu commented Jan 5, 2014

Added in 140a559
Special thanks to https://github.com/hameno

@tokudu tokudu closed this as completed Jan 5, 2014
@tmsbn
Copy link

tmsbn commented Jan 18, 2014

Is this merged to the master branch?

@tokudu
Copy link
Contributor

tokudu commented Jan 20, 2014

Yes.

@tmsbn
Copy link

tmsbn commented Jan 21, 2014

Thanks!!. Please update the documentation with build.gradle statement.

@fabriciomassula
Copy link
Author

Thnks!!

@fabriciomassula
Copy link
Author

The build.gradle (https://github.com/umano/AndroidSlidingUpPanel/blob/master/demo/build.gradle#L30) is still

dependencies {
    compile 'com.android.support:support-v4:13.0.+'
    compile project(':library')
}

and it should be

dependencies {
    compile 'com.android.support:support-v4:13.0.+'
    compile 'com.sothree.slidinguppanel:slidinguppanel:+'
}

Is the AAR on the Maven repo?

Thnks!

@tmsbn
Copy link

tmsbn commented Jan 28, 2014

Is the AAR on maven repo?

@cnbuff410
Copy link

Co-ask about maven repo availability

@Jogan
Copy link

Jogan commented Feb 1, 2014

How do I add this in gradle?
compile 'com.sothree.slidinguppanel:slidinguppanel:+'

is not working

@MichaelEvans
Copy link

Having the same issue. What is the path for gradle?

@tokudu
Copy link
Contributor

tokudu commented Feb 5, 2014

According to #91, you need to add this to root build.gradle:

allprojects {

  buildscript {
    repositories {
      mavenCentral()
    }
  }

  dependencies {
    repositories {
      mavenCentral()
    }
  }
}

@alexrs
Copy link

alexrs commented Feb 7, 2014

It does not work with Gradle

@tokudu
Copy link
Contributor

tokudu commented Feb 7, 2014

Ok, i'll look into it.

On Fri, Feb 7, 2014 at 1:56 PM, Alejandro Rodríguez Salamanca <
notifications@github.com> wrote:

It does not work with Gradle

Reply to this email directly or view it on GitHubhttps://github.com//issues/83#issuecomment-34509165
.

@gipi
Copy link
Contributor

gipi commented Feb 12, 2014

Don't work for me neither, I also searched for the AAR in the maven repositories (http://search.maven.org/) but I don't find it. I suppose you haven't upload it yet.

@dayjer
Copy link

dayjer commented Feb 19, 2014

Same problem.. this task should still be open.

@dredav
Copy link

dredav commented Feb 24, 2014

+1

2 similar comments
@edoardotognoni
Copy link

+1

@ziem
Copy link

ziem commented Mar 4, 2014

+1

@SteveEdson
Copy link

+1 Please re-open

@tokudu tokudu reopened this Mar 4, 2014
@cnbuff410
Copy link

+1

3 similar comments
@andzdroid
Copy link

+1

@wit3
Copy link

wit3 commented Mar 13, 2014

+1

@dbachelder
Copy link

+1

@kenyee
Copy link

kenyee commented Mar 18, 2014

Still no? :-(

Please add to Maven Central...

@sealskej
Copy link

+1

@SteveEdson
Copy link

Are there any updates on this? It seems like loads of people would love this feature.

@felipecsl
Copy link
Contributor

This is already working. Use compile 'com.sothree.slidinguppanel:slidinguppanel:+'

@ziem
Copy link

ziem commented Mar 26, 2014

No, it doesn't.

Could not find any version that matches com.sothree.slidinguppanel:slidinguppanel:+.

@SteveEdson
Copy link

Same here. I'm sure the configuration is fine, it just hasn't been published.

Could not resolve all dependencies for configuration
    Could not find any version that matches com.sothree.slidinguppanel:slidinguppanel:+.

@felipecsl
Copy link
Contributor

Oops sorry, just realized I'm fetching from a different maven repository.
You guys can also get it from here https://github.com/luciofm/m2repository

@artworkad
Copy link

+1 still not working? I am getting

Could not find any version that matches com.sothree.slidinguppanel:slidinguppanel:+.

@jaredpetker
Copy link

If someone could just provide a simple concise explanation that'd be pretty great. Even adding the lines to my base build.gradle with normal default configurations this does not seem to work.

@SteveEdson
Copy link

I managed to get this to work by cloning the repo, and using the latest
Android Studio and selecting 'Import Module'. I really wish it was
published to Maven Central though.
On 2 May 2014 22:14, "ArtworkAD" notifications@github.com wrote:

+1 still not working? I am getting

Could not find any version that matches
com.sothree.slidinguppanel:slidinguppanel:+.

Reply to this email directly or view it on GitHubhttps://github.com//issues/83#issuecomment-42079727
.

@jaredpetker
Copy link

All right, so.

Until someone properly uploads this to maven central, you can use the repo from @luciofm.

Just go into your build.gradle and add

repositories { maven { url 'https://raw.github.com/luciofm/m2repository/master' } }

and then go into the dependencies below and put

com.sothree.slidinguppanel:slidinguppanel:+

And you should be good. Though it would be great if the author took the time to upload this to maven central, really helps everyone involved out.

Obviously this is not an asymptotically great solution as this repo could just get taken down at any time.

@agrebnev
Copy link

agrebnev commented May 5, 2014

@tokudu have a look at this article http://gmariotti.blogspot.ru/2013/09/publish-aar-file-to-maven-central-with.html It can help you to upload your lib into Maven repo easily.

Please make me and other hundreds of developers happier.

@MustafaFerhan
Copy link

still not working
compile 'com.sothree.slidinguppanel:slidinguppanel:+'

@luciofm
Copy link

luciofm commented May 6, 2014

Github recently changed something and the repo is not working anymore...

I've moved it to bitbucket

https://bitbucket.org/luciofm/m2repository/raw/master/

will also deploy a newer version of the lib later.

Lúcio Maciel
luciofm@gmail.com

On Tue, May 6, 2014 at 7:49 AM, Mustafa Ferhan Akman <
notifications@github.com> wrote:

still not working
compile 'com.sothree.slidinguppanel:slidinguppanel:+'


Reply to this email directly or view it on GitHubhttps://github.com//issues/83#issuecomment-42288036
.

@geeksunny
Copy link

+1, would really appreciate this as well.

@luciofm, the bitbucket repo doesn't appear to be working for me.

@tom91136
Copy link

any news on this?

@tokudu
Copy link
Contributor

tokudu commented May 14, 2014

Guys,
Thank you for your patience here. The first release has been promoted: https://oss.sonatype.org/content/repositories/releases/com/sothree/slidinguppanel/library/1.0.1/

I'm waiting on maven central sync. I will ping the issue when it's done.

@tokudu
Copy link
Contributor

tokudu commented May 14, 2014

Done. Import using

dependencies {
    repositories {
        mavenCentral()
    }
    compile 'com.sothree.slidinguppanel:library:+'
}

@tokudu tokudu closed this as completed May 14, 2014
@felipecsl
Copy link
Contributor

❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests