Skip to content

Commit 6af3f18

Browse files
TwistedUmbrellaGrover-c13
authored andcommitted
Add usage instructions for Eclipse users (#290)
Many will opt for simply copying the lib to the libs folder, but this allows building the API project as necessary, while maintaining an updated version of the lib produced in the target project. ** Intended for only building the target project with Eclipse **
1 parent 11be6a2 commit 6af3f18

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ ___
3535
# Usage
3636
You can import the lib directly from the jar OR with Maven/Gradle/SBT/Leiningen using JitPack : [![](https://jitpack.io/v/Grover-c13/PokeGOAPI-Java.svg)](https://jitpack.io/#Grover-c13/PokeGOAPI-Java)
3737

38+
PS : To Eclipse user, add the generated jar into the eclipse build path : Right click on the project > Build path > Java Build Path > Select Libraries tab > Add External JARs… > Select `PokeGOAPI-Java/build/libs/PokeGOAPI-Java_bundle-0.0.1-SNAPSHOT.jar` > Finish
39+
3840
Mostly everything is accessed through the PokemonGo class in the API package.
3941
The constructor of PokemonGo class requires a CredentialsProvider object (which can be obtained from GoogleCredentialsProvider or PtcCredentialsProvider) and a OkHttpClient object.
4042

0 commit comments

Comments
 (0)