farkam135 / GoIV

https://www.reddit.com/r/goiv
Other
372 stars 141 forks source link

Gradle task to update pokemon stats with GAME_MASTER.json #1089

Closed udnp closed 3 years ago

udnp commented 4 years ago

This PR provides Gradle task to update pokemon database XML files(integers.xml and forms.xml) with the latest GAME_MASTER.json.

It is extended from the branch origin/moveAndUpdateDevMethods commit 0d0d74b10f03b7109be3b0bf1b91137b9f36b1a5.

See that the diff from that branch is a7d655652549ec1f1cf1b509882579627b9f7fd8, and supports new format GAME_MASTER.json from followings: https://github.com/pokemongo-dev-contrib/pokemongo-game-master/commit/257708d7793d70021be90b0e9347d7f44eedc7a3

try to run by following command line in GoIV_PROJECT_ROOT dir,

$ ./gradlew :devMethods:updateDatabase

or Gradle pane in Android Studio.

pr-gradle-task-update-database-screenshot-android_studio