Skip to content

Commit 338ebc5

Browse files
authored
bundle is done for every build now
1 parent 8730a67 commit 338ebc5

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

README.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,19 +25,18 @@ If you are using this lib to catch pokemon and loot pokestop, take care that you
2525
:exclamation: :exclamation: :exclamation:
2626
___
2727

28-
# Build
28+
# Build from source
2929
- Clone the repo and cd into the folder
3030
- `` git submodule update --init ``
31-
- compile and package
32-
- `` ./gradlew build bundle ``
33-
- you should have the api bundled in ``build/libs/PokeGOAPI-Java_bundle-0.0.1-SNAPSHOT.jar``
31+
- `` ./gradlew build ``
32+
- you should have the api jar in ``build/libs/PokeGOAPI-Java-0.0.1-SNAPSHOT.jar``
3433

3534
PS : To Eclipse user, you must build once : `` ./gradlew build `` and add the generated java class for proto into eclipse source path : Right click on the project > Build path > Configure Build Path > Source > Add Folder > Select `build/generated/source/proto/main/java` > Finish
3635

3736
# Usage
3837
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)
3938

40-
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+
PS : To Eclipse user who just want to add the jar to classpath : Right click on the project > Build path > Java Build Path > Select Libraries tab > Add External JARs… > Select `PokeGOAPI-Java/build/libs/PokeGOAPI-Java-0.0.1-SNAPSHOT.jar` > Finish
4140

4241
Mostly everything is accessed through the PokemonGo class in the API package.
4342
The constructor of PokemonGo class requires a CredentialsProvider object (which can be obtained from GoogleCredentialsProvider or PtcCredentialsProvider) and a OkHttpClient object.

0 commit comments

Comments
 (0)