ParallaxScroll icon indicating copy to clipboard operation
ParallaxScroll copied to clipboard

Maven Access is no Working

Open subinsebastien opened this issue 10 years ago • 6 comments

I tried to include this library from maven as described in the README. Without luck, gradle complains. Do we have this library moved to a new location?

subinsebastien avatar Sep 18 '14 06:09 subinsebastien

No, I just uploded it, did you set the maven central in the root build? From android studio you can also search for parallaxscroll in the module dependencies.

nirhart avatar Sep 18 '14 06:09 nirhart

Yep, I have added both the lines to me project and module gradle files.

allprojects { repositories { mavenCentral() maven { url 'https://oss.sonatype.org/content/groups/public' } } }

and

compile 'com.github.nirhart:parallaxscroll:1.0'

Question : Why do we need to add a maven url to the main gradle file?

Thanks for the response.

subinsebastien avatar Sep 18 '14 07:09 subinsebastien

Currently I have added the library project as a module to my project and I add it as a module dependency for app. Although maven is much convenient, I got it working for now.

subinsebastien avatar Sep 18 '14 07:09 subinsebastien

You are right, you don't have to add the maven url, just tested it in Android Studio 0.8.9, added the library (Right click on the module -> open module settings -> clicking on the module in the left pan -> clicking on dependencies in the tap -> add new -> search for parallaxscroll) and its working fine for me. can you elaborate about the errors you get ?

nirhart avatar Sep 18 '14 22:09 nirhart

@nirhart the only jar files you have there are sources and javadoc. Adding the parallaxscroll-1.0.jar file would resolve it, no?

snoopaloop avatar Jul 17 '15 04:07 snoopaloop

this problem is occurred because dependency use implementation 'com.github.nirhart:parallaxscroll:1.0' not working with compileSdkVersion 27 or new sdk version,

you can salve this to download module from github and impot module in your project and update with ur project sdk version.this is my project update library gradle sdk version

murleepatle avatar Jun 12 '18 20:06 murleepatle