Commit graph

43 commits

Author SHA1 Message Date
c09c4045e2
refactor: Rework buildSrc
Co-authored-by: AntsyLich <59261191+antsylich@users.noreply.github.com>
2024-12-25 10:37:47 +07:00
6c93deacca
refactor: Use AboutLibraries
Should unblock GH-124 from being merged, no thanks to Google.
2024-07-31 10:01:38 +07:00
ce1fd694cc
refactor: Convert remaining plugins to use version catalog 2024-06-27 19:57:27 +07:00
b29d51e30e
chore(deps): Kotlin 2.0 2024-06-23 08:18:24 +07:00
2b46f94a5a
revert: Revert "Revert "Modularize the app""
This reverts commit f59f2346dc.
2024-06-16 18:44:15 +07:00
f59f2346dc
revert: Revert "Modularize the app"
Epic fail, not sure what happened, but I am sure that I don't want to spend the rest of the day debugging no error crash, I'll just try again later. It is what it is, I guess...
2024-06-16 13:26:29 +07:00
11145cf716
chore: Revert a change 2024-06-16 12:40:14 +07:00
Ahmad Ansori Palembani
24ce2683d4
refactor: Modularize the project (#97)
* refactor: Modularize the project

* chore: Move okhttp stuff back to androidMain

OkHttp decided to cancel multiplatform plan on 5.0

REF: https://square.github.io/okhttp/changelogs/changelog/#version-500-alpha13

* feat: Start using moko for i18n

* fix: Solve some errors

* chore: Remove manga from domain module

We'll do this later

* fix: Duplicate error

* fix: Conflict function name error

* fix: Target SManga

* fix: Breaking changes after the split

* fix: Not enough heap memory

* chore: Update proguard rules

Sorta similar to upstream

* refactor: Fix namespace
2024-06-16 09:34:02 +07:00
Ahmad Ansori Palembani
41a46ba0f8
refactor: Migrate "database migrations" to use SQLDelight (#73)
* chore: Preparing SQLDelight

* chore: Specify some config for SQLDelight

* fix: Commit the thing bruh

* refactor: Migrate (some) sql to SQLDelight

* refactor: Migrate the rest of sql migration to SQLDelight

* chore: Update SQLite to v3.45.0

* refactor: Retrofitting StorIO to work with SQLDelight

* refactor: Removed unnecessary code, already handled by AndroidSqliteDriver

* fix: Database lib too old to use FrameworkSQLiteOpenHelper

* chore: Revert downgrade
2024-06-03 14:00:12 +07:00
9a2815d277
refactor: Migrate to gradle version catalog 2024-01-10 12:10:43 +07:00
Jays2Kings
1132e0d996 Update build.gradle.kts 2023-09-28 21:32:19 -07:00
Jays2Kings
e2136213e6 Update gradle to 8.1.1 2023-09-20 14:50:15 -07:00
Jays2Kings
3140361452
Targeting SDK 33 (Android 13) (#1525)
* starting workmanager updates

* Update Download service to download job

Also making downloader use suspend methods like upstream

Co-Authored-By: Ivan Iskandar <12537387+ivaniskandar@users.noreply.github.com>

* Make BackupRestorer a job

* Make LibraryUpdateJob a datasync service type

* Changing Extension auto installer to a job instead of service

* Changing App auto installer to a job instead of service

With it theres no more services, and nearly ready to up the target sdk

* Add runtime permission for notifications

Shows permission when adding to library, seeing the app update in app prompt, or loading library or recents
Tries to show the permission again (or a warning message) when trying to restore a backup or set library update timing
Same warning messages shows when not allowing notifications

* Set target sdk to 33

we made it.

* Clean up ContextExtensions

* Add notification check for incognito mode

* Add last updated timestamp to updates job

* Update LibraryUpdateJob.kt

minor changes to the notifier's placeholder, and making sure it uses localeContext for versions under A13

* update channel logic in library updater

* Change library update channel to just take a Long instead a whole Manga

* Use extensionManager flow in ExtensionInstallerJob

* Update MainActivity.kt

* Fixes to downloadFlow

* reworking running extensions after library update logic

* Change update channel to shared flow in library job

* More updates to the library updates flow

no longer using a suspend, instead holding a buffer for the flow

* updates to the flow in extensionInstaller

from state to shared, also using "tryEmit" less for it

* Fix extension auto installing notification not dismissing/dismissable

* Version 1.7.0

* Update AppDownloadInstallJob.kt

* Refactor DownloadJob

* Version 1.7.0-b02

* Fix uninstalling extensions not refreshing the list

* Show notification permission prompt when pressing update all

* Chunked the extension install job in case too many extensions are being updated at once

The limit is around 62 extensions, but to be safe it runs 32 per job (which jobs still update 3 at a time)

Closes #1584

* Update Java Version

---------

Co-authored-by: Ivan Iskandar <12537387+ivaniskandar@users.noreply.github.com>
2023-07-31 16:19:43 -04:00
Jays2Kings
cd699a17dc Remove arca in favor of crashlytics 2023-03-21 16:03:13 -04:00
Jays2Kings
f1c5f65090 Update gradle to 7.4.2 2023-03-03 00:23:21 -05:00
Jays2Kings
a09fd8ac48 Glance widget for Recents
Recents because its using the same logic as app shortcuts already use

Also added Compose + Kotlin 1.8.10 but no one cares about that

Co-Authored-By: Ivan Iskandar <12537387+ivaniskandar@users.noreply.github.com>
2023-02-14 20:35:10 -05:00
Jays2Kings
ff10d15f24 Update GDP to 7.4.1 2023-02-11 20:06:33 -05:00
Jays2Kings
e7ada294f7 update other libs
gms and kotlinter
2022-11-11 15:56:46 -05:00
Jays2Kings
ed9e4ae154 Update gradle to 7.3.1 2022-11-11 14:55:40 -05:00
Jays2Kings
6b7d529a19 gradle -> 7.2.2 2022-08-17 20:30:30 -04:00
Jays2Kings
1982ffa33e gradle -> 7.2.1 + gms -> 4.3.13 2022-06-29 14:06:22 -04:00
Jays2Kings
f6ccfadf43 Update gradle to 7.2.0
Using AS Chipmunk now
2022-05-10 14:01:47 -04:00
Jays2Kings
708648361d Dependencies cleanup 2022-05-07 13:51:02 -04:00
Jays2Kings
3ec1df83dc update gms oss-licenses-plugin
to 0.10.5
2022-05-04 19:41:37 -04:00
Jays2Kings
42b15aa634 Remove firebase crashlytics 2022-05-04 19:41:03 -04:00
Jays2Kings
b340b43e70 gradle to 7.1.3 2022-04-16 14:28:49 -04:00
Jays2Kings
94a1daa135 replace jcenter with mavenCentral 2022-04-03 16:17:07 -04:00
Jays2Kings
39cb70d90d gradle 7.1.2 2022-04-03 16:11:07 -04:00
Jays2Kings
89908db5e0 Up to gradle 7.0.3 2021-10-17 05:16:30 -04:00
Jays2Kings
6399bbb779 Lint fixes/ignore some errors 2021-09-30 23:48:00 -04:00
Jays2Kings
03b6a9cd08 Upping to gradle 7.0.2 2021-09-07 20:23:52 -04:00
Jays2Kings
52d3eacadd Update gradle to 7.0.1 2021-08-22 23:58:25 -04:00
Jays2Kings
b26c029e40 Update to AS Arctic Fox (really gradle) 2021-08-06 22:38:22 -04:00
Jays2Kings
8a0c0f2de4 Update dependencies
Kotlin -> 1.5.20
oss-licenses-plugin -> 0.10.4
coroutines -> 1.5.1
2021-07-11 21:24:32 -04:00
Jays2Kings
a8a23c153d Upgrading bunch of libraries
gradle -> 4.2.2
appcompat -> 1.3.0
material -> 1.4.0
recyclerview -> 1.2.1
core-ktx -> 1.6.0
kotlin serialization -> 1.2.1
conductor-support-preference -> upstream 3.0.0
firebase -> 19.0.0
junit -> 4.13.2
conscrypt -> 2.5.2
2021-07-04 14:27:28 -04:00
Jays2Kings
510773fd75 Remove jcenter
huh, this was actually painless

closes #683
2021-05-01 22:01:42 -04:00
Jays2Kings
abea51c805 Removing kotlin extensions + adding jetbrains kotlin
also bumping up to kotlin 1.4.20 and using jsetbrains kotlin for parcelize (needed for mass migration)

With this we can close #684 because we are TRULY finished
2021-03-29 23:50:46 -04:00
Jays2Kings
7914b26488 Adding kotlinter 2021-03-25 14:55:59 -04:00
Jays2Kings
a15d473c19 remove double ignoreFailures in ktlint 2021-03-24 00:29:43 -04:00
Jays2Kings
434926351c Added support for proto.gz backups
Lotta cleanup to do, but that's a later commit

Co-Authored-By: Carlos <2092019+CarlosEsco@users.noreply.github.com>
Co-Authored-By: arkon <4098258+arkon@users.noreply.github.com>
2021-03-21 00:00:55 -04:00
CarlosEsco
4e0c97a120 clean up of plugin to use classpath so it can use the kotlin class instead of having to intercept in the settings.gradle 2020-06-05 15:41:13 -04:00
Carlos
7d5fa5a603
remove shortcuts.xml plugin since shortcuts arent used anymore (#463)
updated gradle to 6.1.1
update android gradle to 4.0
add buildSrc to use kotlin for versions didnt convert them all
2020-05-30 20:30:53 -04:00
Carlos
09f366d14b update to gradle 5.6.4
update to kotlin 1.3.70
updated jsoup to 1.12.2
updated evernote android job to 1.4.2
updated sqlite-android to 3.31.0
updated junit to 4.13
updated coroutines to 1.3.3
removed packaging options since these were required for travis releases
added logic for formatter but kept it commented out
switch everything to build.kts
2020-03-07 07:08:50 -05:00