Skip to content Skip to sidebar Skip to footer

How To Get A Jar From Github Project?

I want to use kSoap2-android library from the official site http://simpligility.github.io/ksoap2-android/index.html, but I don't know how can I make a jar from the github project h

Solution 1:

You can follow this step by step procedure to get .jar:

  1. Click the Clone or download button, and click Download ZIP.
  2. Extract the downloaded zip file to a folder somewhere.
  3. Go into the folder that contains the src directory and the gradlew files
  4. Shift-right-click, click Open command window here
  5. Enter gradlew.bat setupDecompWorkspace
  6. Enter gradlew.bat shadowJar
  7. The JAR file is in the build folder, inside the libs folder.

Hope this helps you.

Solution 2:

The project has a pom.xml so it can be built with maven.

It also has a maven wrapper script (mvnw), so you can run it without even having maven on your computer.

EDIT : sorry, I did not see that you only wanted one subproject. try :

mvn install -pl ksoap2-android -am

Post a Comment for "How To Get A Jar From Github Project?"