navasmdc / MaterialDesignLibrary

This is a library with components of Android L to you use in android 2.2
Apache License 2.0
8.99k stars 2.22k forks source link

Gradle dependency #1

Closed qcfer35 closed 9 years ago

qcfer35 commented 10 years ago

Hey, you do not have this project in maven?

pulimento commented 9 years ago

Maybe this can help you https://github.com/chrisbanes/gradle-mvn-push

JanChvala commented 9 years ago

I dont want to be rude or steel any glory from the author but I've build the aar package for this library and uploaded it to my local repository here on GitHub.

I forked this repo - Android Studio gradle based project with ONE SIGNIFICANT CHANGE - SUPPORT IS FOR API v 15 and above.

You can use it if you want like this:

repositories {
    ...
    maven { url 'https://github.com/JanChvala/janchvala-mvn-repo/raw/master/releases' }
}

dependencies {
    ...
    compile "com.gc.materialdesign:library:1.0.0@aar"
}

Please bear in mind that once this library has its own distributed version (or if the author will ask me to) I will erase the library from my repo. So it is on your own. Thanks for understanding.

cxl086 commented 9 years ago

@JanChvala great job!

achuinard commented 9 years ago

@JanChvala wouldn't it be rather simple to just send him a pull request so this can be put in maven central?

JanChvala commented 9 years ago

@achuinard To put libraries in maven central is not as easy as it seems to be (eg. publishing PGP signatures). My approach is not using central repository at all but it is hosted on GitHub instead. This allows me to treat the repository as simple GIT repository - which is simple.

As I said. This is temporary (Just for those who cannot stand waiting :) ) for official release. Another think why I forked this repo instead of simple building aar file is that I wanted to drop support for API 14 and lower - This might be a blocker for somebody targetting froyo though.

navasmdc commented 9 years ago

Sorry for the wait, the user @cesarizu is helping to me, could be done this week

kaleai commented 9 years ago

@JanChvala Cool!

BilalBoulifa commented 9 years ago

this is not done yet !!!!!

stepango commented 9 years ago

Instead of maven you could publish it on jcenter, is much faster and easier

romangromov commented 9 years ago

Hi guys,

how is this task going on?

TriPSs commented 9 years ago

I'm using it now for a while and i can really recommend to include the project to your own app, because then you can still change little things like the ripple speed.

qcfer35 commented 9 years ago

@TriPSs I think the library is not 100%, these details should be supporter of the library without making changes, however there must be reliance on Gradle to use and detect errors

navasmdc commented 9 years ago

Hi guys, GOOD NEWS!!, I've finally gotten it, I've upload the project to the Jcenter if you want acces to the library, have to add these lines in your buil.gradle

repositories { jcenter() }

dependencies { compile(group: 'com.github.navasmdc', name: 'MaterialDesign', version: '1.0', ext: 'aar') }

romaloma commented 9 years ago

Not working again.... Error:(25, 13) Failed to resolve: com.github.navasmdc:MaterialDesign:1.0

tried with both compile 'com.github.navasmdc:MaterialDesign:1.0@aar' , which used to work, and compile(group: 'com.github.navasmdc', name: 'MaterialDesign', version: '1.0', ext: 'aar')

navasmdc commented 9 years ago

Hi, the library is in the 1.4 version try with this compile line

compile 'com.github.navasmdc:MaterialDesign:1.4@aar'