From 557e528298c0b256e30c4ef3dc9704888f32a101 Mon Sep 17 00:00:00 2001 From: Romain Date: Mon, 14 Oct 2024 13:45:26 +0200 Subject: [PATCH] Updated Contrib to match current repo (#5506) * Updated Contrib to match current repo * For the one who is different from everyone else * How to build a debug catalog apk * Added multisrc in default pulled folders --- CONTRIBUTING.md | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index fd405de5f..c35106629 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -86,12 +86,9 @@ small, just do a normal full clone instead.** ```bash git sparse-checkout set --cone --sparse-index # add project folders - git sparse-checkout add .run buildSrc core gradle lib multisrc/src/main/java/generator + git sparse-checkout add buildSrc core gradle lib lib-multisrc # add a single source git sparse-checkout add src// - # add a multisrc theme - git sparse-checkout add multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/ - git sparse-checkout add multisrc/overrides/ ``` To remove a source, open `.git/info/sparse-checkout` and delete the exact @@ -112,13 +109,11 @@ small, just do a normal full clone instead.** ```bash /* !/src/* - !/multisrc/overrides/* - !/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/* + !/multisrc-lib/* # allow a single source /src// # allow a multisrc theme - /multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/ - /multisrc/overrides/ + /lib-multisrc/ # or type the source name directly ``` @@ -842,6 +837,15 @@ of `mitmweb`. APKs can be created in Android Studio via `Build > Build Bundle(s) / APK(s) > Build APK(s)` or `Build > Generate Signed Bundle / APK`. +If for some reason you decide to build the APK from the command line, you can use the following +command (because you're doing things differently than expected, I assume you have some +knowledge of gradlew and your OS): + +```console +// For a single apk, use this command +$ ./gradlew src:::assembleDebug +``` + ## Submitting the changes When you feel confident about your changes, submit a new Pull Request so your code can be reviewed