From 8698ef66d16cfeb1834825e2142ae3eecd1cf293 Mon Sep 17 00:00:00 2001 From: Jannis Mattheis Date: Thu, 21 Feb 2019 19:50:13 +0100 Subject: [PATCH] Document steps to update client --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index d97ba1b..195eadc 100644 --- a/README.md +++ b/README.md @@ -48,6 +48,14 @@ Execute the following command to build the apk. $ ./gradlew build ``` +## Update client + +* Run `./gradlew generateSwaggerCode` +* Discard changes to `client/build.gradle` (newer versions of dependencies) +* Fix compile error in `client/src/main/java/com/github/gotify/client/auth/OAuthOkHttpClient.java` (caused by an updated dependency) +* Delete `client/settings.gradle` (client is a gradle sub project and must not have a settings.gradle) +* Commit changes + ## Versioning We use [SemVer](http://semver.org/) for versioning. For the versions available, see the [tags on this repository](https://github.com/gotify/android/tags).