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
This commit is contained in:
parent
7dd51c9b1d
commit
07d68def99
|
@ -86,12 +86,9 @@ small, just do a normal full clone instead.**
|
||||||
```bash
|
```bash
|
||||||
git sparse-checkout set --cone --sparse-index
|
git sparse-checkout set --cone --sparse-index
|
||||||
# add project folders
|
# 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
|
# add a single source
|
||||||
git sparse-checkout add src/<lang>/<source>
|
git sparse-checkout add src/<lang>/<source>
|
||||||
# add a multisrc theme
|
|
||||||
git sparse-checkout add multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/<source>
|
|
||||||
git sparse-checkout add multisrc/overrides/<source>
|
|
||||||
```
|
```
|
||||||
|
|
||||||
To remove a source, open `.git/info/sparse-checkout` and delete the exact
|
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
|
```bash
|
||||||
/*
|
/*
|
||||||
!/src/*
|
!/src/*
|
||||||
!/multisrc/overrides/*
|
!/multisrc-lib/*
|
||||||
!/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/*
|
|
||||||
# allow a single source
|
# allow a single source
|
||||||
/src/<lang>/<source>
|
/src/<lang>/<source>
|
||||||
# allow a multisrc theme
|
# allow a multisrc theme
|
||||||
/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/<source>
|
/lib-multisrc/<source>
|
||||||
/multisrc/overrides/<source>
|
|
||||||
# or type the source name directly
|
# or type the source name directly
|
||||||
<source>
|
<source>
|
||||||
```
|
```
|
||||||
|
@ -842,6 +837,15 @@ of `mitmweb`.
|
||||||
APKs can be created in Android Studio via `Build > Build Bundle(s) / APK(s) > Build APK(s)` or
|
APKs can be created in Android Studio via `Build > Build Bundle(s) / APK(s) > Build APK(s)` or
|
||||||
`Build > Generate Signed Bundle / APK`.
|
`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:<lang>:<source>:assembleDebug
|
||||||
|
```
|
||||||
|
|
||||||
## Submitting the changes
|
## Submitting the changes
|
||||||
|
|
||||||
When you feel confident about your changes, submit a new Pull Request so your code can be reviewed
|
When you feel confident about your changes, submit a new Pull Request so your code can be reviewed
|
||||||
|
|
Loading…
Reference in New Issue