Search code examples
androidgitandroid-librarypicassosquare

Android Picasso cloned but can't run the sample project, no gradle files found


I have cloned the Square/Picasso Github repo, however, I did not find any Gradle files and therefore I am still stuck figuring out how to use the library and run the sample app as well. I want to use the code instead of the jar because I have few modifications I need in the library to use it.


Solution

  • Following up from my comments in your question, if you want to use picasso with your changes, what you'll need to do is clone picasso, make your changes to the source, then run a Maven package task, if you have Maven:

    mvn clean package -Dmaven.test.skip=true
    

    If the build is successful, you will find your .jar file to use as a library, with all your changes, in directory picasso/target.