Commit graph

5405 commits

Author SHA1 Message Date
81aaca02a1
refactor(source/local): Simplify code
* Reduce duplicate code on checking supported archive types
* Directly try to get COMIC_INFO_FILE instead of using .filter
2024-06-30 08:12:28 +07:00
78a9e1dc09
fix(deps): Downgrade AGP to 8.4.2
Can't sync project on Intellij IDEA. This also doesn't sync on stable
release (see REF 5), they only fix AGP support on major updates.

Thanks JetBrains, for the pain.

REF:
[1] https://youtrack.jetbrains.com/issue/FL-23919
[2] https://youtrack.jetbrains.com/issue/IDEA-348937/2024.1-Beta-missing-option-to-enable-sync-with-future-AGP-versions
  "Ignore AGP compatibility check" option is removed.
[3] https://youtrack.jetbrains.com/issue/IDEA-354790/Android-Plugin-Add-supported-Android-Gradle-Plugin-to-its-description
  This "ignore check" option removal especially annoying for
  multiplatform devs. It's even more annoying when you paid for Ultimate
  Edition yet your work is being blocked by a plugin that works
  perfectly on a free version of similar but striped down edition of
  your IDE.
[4] https://youtrack.jetbrains.com/issue/IDEA-355137/Support-Android-Gradle-plugin-8.5.0
  It's been 7 months, we still stuck on AGP 8.2, amazing.
[5] https://youtrack.jetbrains.com/issue/IDEA-352815/Android-Gradle-Plugin-8.4.0-isnt-supported
  We did get AGP 8.4.x on EAPs for 2024.2, but like... why? why can't
  just do it for 2024.1? this has been an issue for a very long time where
  the AGP support is fixed on EAP for a major update, almost screw up my
  deadline one time, I love Kotlin, but my god this AGP stuff is just
  frustrating.
2024-06-28 11:28:25 +07:00
FooIbar
740ce23d47
fix(deps): Update R8 to fix NoSuchMethodError crash 2024-06-28 09:07:00 +07:00
cec2700706
docs: Sync changelog 2024-06-27 21:36:20 +07:00
Ahmad Ansori Palembani
975bb657c9
refactor: Some gradle housekeeping
* Update Gradle to v8.7
* Update AGP to v8.5.0
* Refactor all Gradle plugin to use version catalog
* Update jsoup to v1.7.1
2024-06-27 21:34:00 +07:00
9099b63e12
revert: "revert: "chore: Downgrade to gradle v8.7""
This reverts commit f5431c1bf2.
2024-06-27 21:28:59 +07:00
f5431c1bf2
revert: "chore: Downgrade to gradle v8.7"
This reverts commit a5306ae160.

The build somehow successful, but idk which one fixed it ._.
2024-06-27 21:24:02 +07:00
d39ca42143
chore(deps): Bump jsoup version 2024-06-27 21:08:38 +07:00
a5306ae160
chore: Downgrade to gradle v8.7 2024-06-27 21:05:56 +07:00
f824583c3f
chore: Explicitly set flavour dimension to "default" 2024-06-27 20:49:58 +07:00
7dea343be6
fix: OSS License Plugin has no plugin marker
REF: https://github.com/google/play-services-plugins/pull/222

Merge it already Google, for goodness sake!
2024-06-27 20:23:26 +07:00
80e7a96906
fix: Invalid formatting 2024-06-27 20:22:58 +07:00
1b10611422
fix(gradle): id not module 2024-06-27 20:00:51 +07:00
ce1fd694cc
refactor: Convert remaining plugins to use version catalog 2024-06-27 19:57:27 +07:00
a149d5aeec
chore(deps): Converted more gradle plugins to use version catalog 2024-06-27 19:13:26 +07:00
cbdd16f6d4
chore(deps): Update agp to v8.5.0
Also convert some plugins to use version catalog
2024-06-27 19:08:12 +07:00
f8b462c4b5
chore(deps): Update gradle to v8.8
This reverts commit be0f64f28c.
2024-06-27 18:57:23 +07:00
b01f325e71
chore: Remove experimental material api flag
No longer used since we use material3
2024-06-27 18:31:18 +07:00
f2a7ddb6eb
chore(backup/restore): Also pass log to Kermit 2024-06-27 18:00:13 +07:00
7f872e64f9
refactor(backup/restore): Simplify restorer 2024-06-27 14:49:34 +07:00
b2478844d7
refactor(backup/restore): Return try catch 2024-06-27 14:35:15 +07:00
81a034db1a
fix(backup/restore): Avoid starting restore job when it's already
running
2024-06-27 13:29:37 +07:00
8b5c065d8a
enhance(crash/log): Dump crash exception 2024-06-27 12:23:30 +07:00
b891cd26e2
docs(archive): Fix comments [skip ci] 2024-06-27 12:19:59 +07:00
c5537fa85b
docs: Sync changelog 2024-06-27 12:17:31 +07:00
e19d048bb1
refactor(archive): Move stuff around
Hopefully this makes it easier for me to make it KMM compatible in the future
2024-06-27 12:16:18 +07:00
7d4e3d7bbc
fix(reader/loader): Crash trying to read archive chapters
I put toList() on the wrong place... Also refactor it to make it to make it more readable
2024-06-27 12:14:26 +07:00
FooIbar
17465f2719
refactor: Use libarchive for Archive support
Co-authored-by: Ahmad Ansori Palembani <palembani@gmail.com>
2024-06-27 10:03:41 +07:00
c0bf67eabd
docs(reader/transition): Add todo 2024-06-27 08:30:27 +07:00
9ab5aaf1be
docs: Sync changelog 2024-06-27 08:18:41 +07:00
2471f454f8
fix(deps): Update compose to *-beta04
REF: https://developer.android.com/jetpack/androidx/releases/compose-foundation#1.7.0-beta04
2024-06-27 07:41:05 +07:00
a5394c7022
fix(deps): Attempt 2 trying to fix https://issuetracker.google.com/343750859 2024-06-26 06:27:03 +07:00
be0f64f28c
revert: Revert "chore(deps): Update gradle to v8.8"
This reverts commit e979346d96.

I'll deal with this later, since gradle is painful to fix
2024-06-25 21:00:00 +07:00
3b72c02f14
docs(license): Remove appendix [skip ci]
Supposed to be in a separate file

REF: https://www.apache.org/licenses/LICENSE-2.0
2024-06-25 20:49:27 +07:00
e979346d96
chore(deps): Update gradle to v8.8 2024-06-25 20:44:11 +07:00
12b69992d9
fix(deps): Use snapshot compose
REF: https://issuetracker.google.com/issues/343750859
REF: 3137316
2024-06-25 20:26:47 +07:00
dbf07686f9
chore(sync): Sync repo 2024-06-25 12:28:20 +07:00
00b726d5c8
refactor(reader): Don't use xmlutil's extension method 2024-06-25 11:49:34 +07:00
e7f84fd8ba
fix(reader): Save combined page does nothing 2024-06-25 11:34:05 +07:00
870e3467ba
fix(reader): Split page shouldn't be seen as extra page 2024-06-25 10:56:44 +07:00
42dd0183e8
chore(i18n): Ignore locales_config.xml 2024-06-25 10:10:34 +07:00
747d422ac7
docs(library): Note [skip ci] 2024-06-25 09:33:02 +07:00
45063d8830
fix(recents): Force refresh state to true on swipe 2024-06-25 08:51:24 +07:00
79f3f45e21
docs: Sync changelog 2024-06-24 14:23:36 +07:00
582e0f19b3
enhance(i18n/android): Dynamically generate locales_config.xml 2024-06-24 14:21:18 +07:00
Ahmad Ansori Palembani
875100dd6c
refactor: Migrate i18n to use Moko Resources (#110)
* fix(deps): "String index out of range" compile error

REF: https://github.com/icerockdev/moko-resources/issues/732

* refactor(i18n): Simplify gradle

* refactor: Migrate i18n files to moko-resources

Also split plurals to their own files

* fix: Only use firebase on releases

* revert: Revert "fix: Only use firebase on releases"

This reverts commit e4f40b450a.

* ci: Just build standard release

* refactor: Fully migrate to Moko Resources for i18n
2024-06-24 13:46:42 +07:00
dc0a3c3274
ci: Upload R8 apk and R8 mapping to artifact
Co-authored-by: FooIbar <118464521+FooIbar@users.noreply.github.com>
2024-06-23 18:54:29 +07:00
276907770a
fix: Escape single quotes 2024-06-23 18:42:38 +07:00
e8cfc5156f
chore(deps): Add api dependency to use moko on compose 2024-06-23 18:38:16 +07:00
14b1a359aa
docs: Sync changelog 2024-06-23 18:37:19 +07:00