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

Submit to maven central #2

Closed
markmooibroek opened this issue Apr 24, 2014 · 3 comments
Closed

Submit to maven central #2

markmooibroek opened this issue Apr 24, 2014 · 3 comments
Assignees

Comments

@markmooibroek
Copy link

Would be awesome i think =)

For now I use the steps below to integrate (via local maven repository)

  • clone from git
  • run gradle build
  • locate FloatLabel.aar in build folder
  • install locally to maven using command below (1)
  • add (2) to your gradle dependencies

(1)
mvn install:install-file -Dfile=FloatLabel.aar -DgroupId=com.iangclifton.android -DartifactId=floatlabel -Dversion=0.1 -Dpackaging=aar

(2)
compile 'com.iangclifton.android:floatlabel:+@aar'

@IanGClifton
Copy link
Owner

I haven't pushed to Maven Central before, so I've submitted a new project with SonaType OSSRH to get the process started. Thanks for including the command; that'll help a n00b like me.

@matheusjardimb
Copy link

+1

IanGClifton added a commit that referenced this issue Apr 29, 2014
#2
#3

This updates the README.md to include a brief example of using maven for
the dependency in gradle and links to a v9+ compatible fork of the
project.
@IanGClifton
Copy link
Owner

You can now get v1.0 from maven:

compile 'com.iangclifton.android:floatlabel:1.0'

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

No branches or pull requests

3 participants