From 81f57baf35bf621e4b6dbef29e4119b756b67edb Mon Sep 17 00:00:00 2001 From: Richard Tjerngren Date: Mon, 25 Jul 2016 10:10:01 +0200 Subject: [PATCH 1/2] Use gradle-wrapper instead --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 5d56df04..dcb7340f 100644 --- a/README.md +++ b/README.md @@ -27,8 +27,8 @@ ___ # Build - Clone the repo and cd into the folder - `` git submodule update --init `` - - verify that you have gradle in your path - - `` gradle build bundle `` + - compile and package + - `` ./gradlew build bundle `` - you should have the api bundled in ``build/libs/PokeGOAPI-Java_bundle-0.0.1-SNAPSHOT.jar`` PS : To Eclipse user, you must build once : `` gradle 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 From 40bd1ec99bfb65a2bebd57d7688a777278d1c313 Mon Sep 17 00:00:00 2001 From: Richard Tjerngren Date: Tue, 26 Jul 2016 11:55:39 +0200 Subject: [PATCH 2/2] Changed second gradle usage to use gradlew aswell --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index dcb7340f..308b9fa1 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,7 @@ ___ - `` ./gradlew build bundle `` - you should have the api bundled in ``build/libs/PokeGOAPI-Java_bundle-0.0.1-SNAPSHOT.jar`` - PS : To Eclipse user, you must build once : `` gradle 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 + 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 # Usage Include the API as jar from your own build, or use Maven/Gradle/SBT/Leiningen: https://jitpack.io/#Grover-c13/PokeGOAPI-Java/master-SNAPSHOT