Commit Graph

76 Commits

Author SHA1 Message Date
stevenyomi e65117d877
Remove unnecessary files in generated APKs (#3383)
* Removed `kotlin-tooling-metadata.json`, see https://togithub.com/Kotlin/kotlinx.coroutines/issues/3158#issuecomment-1023151105
  This file includes Gradle version code, so Gradle updates will no longer cause binary changes.

* Removed "META-INF/version-control-info.textproto" introduced in AGP 8.4.1, which causes the binaries to change on each commit.

AGP updates will still cause binaries changes because it produces a required `app-metadata.properties` under `META-INF`,
and the `META-INF/MANIFEST.MF` file in the signature includes AGP version.

It is possible to empty `app-metadata.properties`: https://stackoverflow.com/questions/77745443/how-to-stop-gradle-from-generating-app-metadata-properties-at-compile-time
2024-07-14 14:39:15 +01:00
stevenyomi 3372f9de22 Adjust build features (#1436) 2024-02-27 20:53:49 +00:00
stevenyomi d9f7e58f01 Don't format code in CI (#1236)
* Don't format code in CI

* format individual extensions
2024-02-18 19:57:02 +00:00
stevenyomi a723109122 Add build files for lib-multisrc migration (#1228) 2024-02-18 19:55:37 +00:00
stevenyomi 579a574769 Romanize extension names (#938) 2024-02-04 02:25:08 +00:00
stevenyomi a548a4fb4a Fix isNsfw flag (#810) 2024-01-30 22:11:53 +00:00
stevenyomi 4f1e8b8c4f Remove ineffective `libVersion` from extension config (#808) 2024-01-30 22:11:53 +00:00
AwkwardPeak7 c1c0886c0d remove unneeded properties from core manifest (#805)
extFactory, hasReadme, hasChangelog
2024-01-30 22:11:53 +00:00
stevenyomi 12e864f85f Remove placeholder manifest files (#790) 2024-01-30 22:11:47 +00:00
stevenyomi e3638b172f Update deprecated AGP properties (#770)
* Update deprecated AGP properties

* Remove unused suppression
2024-01-30 22:11:05 +00:00
stevenyomi 2a287d7398 Clean up AndroidManifest files (#735) 2024-01-30 22:11:05 +00:00
stevenyomi 308d68dce1 Update `buildFeatures` in build scripts (#730) 2024-01-30 22:11:05 +00:00
Draff 5c8cb75e9a come up to date with keiyoushi builds
CI / Prepare job (push) Successful in 3s Details
CI / Build multisrc modules (push) Successful in 8m10s Details
CI / Build individual modules (push) Successful in 38s Details
CI / Publish repo (push) Successful in 1m39s Details
2024-01-22 21:19:41 +00:00
AwkwardPeak7 c5f82e6aeb Move plugin section to common.gradle (#281)
* move apply plugins to common.gradle

* update CONTRIBUTING.md

* remove whitespace

* move common.gradle apply above in multisrc

* move kotlinter

* newlines
2024-01-16 02:49:40 +00:00
Claudemirovsky d3da494cba Address some gradle warnings (#259)
* chore: Address AGP 8.X warning
* chore(core): Address conflicting-namespace warning
2024-01-16 02:43:08 +00:00
AwkwardPeak7 205e138dd2 upgrade AGP to 8.2.1 (#255)
* upgrade AGP

* bump to java 17 in ci
2024-01-16 02:42:39 +00:00
arkon 34a3c8f0f7
Move package namespace declarations out of manifests (#17578) 2023-08-17 17:56:14 -04:00
beerpsi c367e3b126
Add a new `lib-i18n` to make message translation easier (#17336)
* Add support to better internationalization with a new lib.

* Add info about `lib-i18n` in the contributing guide.

* Use lib-i18n in M+ as well.

* Change properties files to UTF-8.

* use the assets/ folder instead of the res/ folder

files under assets/ are addressible by name

* mangadex: add string invalid_manga_id

* M+: Add translations for Vietnamese

* m+: Add Vietnamese to list of available languages

* mangadex: remove duplicate declarations

---------

Co-authored-by: Alessandro Jean <14254807+alessandrojean@users.noreply.github.com>
2023-08-02 14:52:00 -03:00
arkon 7964dc4613
Upgrade OkHttp (#15320) 2023-02-11 17:30:31 -05:00
arkon baaee5cf21
Update linter (#15317) 2023-02-11 14:21:03 -05:00
Alessandro Jean 5093e6a5fa
Update to extensions-lib 1.4 (#15298)
* Update to extensions-lib 1.4.

* Fix a syntax error in NM.

* Add UpdateStrategy to Nana as well.
2023-02-11 10:44:48 -03:00
arkon 26e64a36fe
Fix URL handler activities (#12093) 2022-06-06 18:45:48 -04:00
arkon a578edb82c
Update to extensions-lib 1.3 (#11878) 2022-06-05 09:49:54 -04:00
arkon f94099b8e8 Revert "Update to extensions-lib 1.3 (#11298)"
This reverts commit 67263a106b.
2022-04-23 18:25:56 -04:00
arkon 67263a106b
Update to extensions-lib 1.3 (#11298) 2022-04-23 17:40:04 -04:00
Andreas 5145eec280
Re: Use Gradle version catalog to simplify dependencies (#10953)
* Use Gradle version catalog to simplify dependencies

* Changes based on review comments

* Remove libs variables in buildScript

- Not needed in this Gradle version
2022-02-28 07:25:23 -05:00
arkon 985f285fc7 Revert "Use Gradle version catalog to simplify dependencies (#10938)"
This reverts commit c83960aaef.
2022-02-27 09:53:18 -05:00
Andreas c83960aaef
Use Gradle version catalog to simplify dependencies (#10938)
* Use Gradle version catalog to simplify dependencies

* Changes based on review comments
2022-02-27 09:49:41 -05:00
Andreas ca9645288f
Add extension fields for hasReadme and hasChangelog (#10469)
* Add extension fields for hasReadme and hasChangelog

* Dump Komga extVersionCode
2022-01-22 09:48:52 -05:00
arkon 6b38a0b299
Configure Gradle to handle release build signing (#10416) 2022-01-09 14:33:34 -05:00
arkon 542c28875d Minor project updates
- Update kotlinter
- Opt in to serialization API to avoid IDE warnings
- Replace some deprecated OkHttp function usages
- Remove some unnecessary Android version checks/targets
2022-01-02 18:47:56 -05:00
arkon 6a75de9261
Remove usage of @Nsfw annotation in favor of extension-level flagging (#9368) 2021-10-04 16:44:32 -04:00
arkon bc7d8c8672
Default libVersion to 1.2 (#9014) 2021-09-09 08:58:17 -04:00
arkon 4f59751cb0
Remove explicit build tools version (#9013) 2021-09-09 08:57:15 -04:00
arkon 3d0af119ce
Compile to SDK 30, update lib dependencies (#7187) 2021-05-22 16:04:17 -04:00
arkon b937caa855
Disable unused AGP features (#5872) 2021-02-16 12:24:32 -05:00
arkon 2004ad5d6e Include generator name in APK metadata 2021-02-11 17:34:38 -05:00
Aria Moradi c1a1e3555d
fixes main method running from android studio (#5693) 2021-02-08 08:30:05 -05:00
arkon 2f5e09b292 Add ktlint-disable directive to generated files 2021-02-07 15:26:49 -05:00
arkon 473a1fbc4e Don't lint generated source files 2021-02-07 15:12:12 -05:00
arkon 3da46570aa Move annotations and Duktape stub into core module 2021-02-06 18:16:04 -05:00
arkon 403ee49cb0 Minor cleanup 2021-02-06 18:08:10 -05:00
Aria Moradi 3f081f69ac
lib-themesources, split Genkan into single-source extensions (#5154)
* lib themesources copied from SnakeDoc83/tachiyomi-extensions/library

* update to the newer Genkan

* update genkan generator

* GenkanOriginal

* code cleanup

* add all Genkan sources

* generate inside generated-src, res override

* src override

* move overrides out of library

* move overrides to a better place

* remove leftover generated files

* remove leftover generated files

* add generators main class

* comment the code

* Now sources are purely generated

* uncomment generators

* enhance comments

* icons by @as280093

* fix pathing issues

* nullpointerexception proof

* runAllGenerators task

* more flexibility in lib structure, fix a fiew errors

* update github workflows

* correct nonames scans directory name

* rename SK Scans to Sleeping Knight Scans

* fix typo

* update depencencies

* remove defaultRes from dependencies

* fix bug with nsfw

* fix nsfw generation

* themesourcesLibraryVersion is included in build.gradle extVersionCode

* improve javadoc

* fix formatting and language code generation

* comply with #5214

* common dependencies

* rename and move lib/themesources into /multisrc

* use not depricated form

* cleanup runAllGenerators task

* cleanup even more

* oops extra file

* remove test code

* comments

* update docs and refactor

* update docs

* requested changes

* clean up dependencies

* sealed dataClass

* refactor

* refactor string generators

* bring back writeAndroidManifest

* update overrideVersionCode javadoc

* update overrideVersionCode javadoc

* move dependency to extension source

* refactor runAllGenerators

* improve docs

* remove extra file
2021-02-06 17:32:04 -05:00
Aria Moradi 33f136d2ae
Fix Android Studio "Duplicate content roots" error (#5203)
* comply with #5214

* rm not needed AndroidManifest.xml

* [CI SKIP] add info about AndroidManifest.xml

* Update CONTRIBUTING.md

Co-authored-by: arkon <arkon@users.noreply.github.com>
2020-12-20 22:31:12 -05:00
arkon 3b3695f97b Rename defaultRes module to core 2020-12-20 13:17:10 -05:00
arkon 1f964d9f0a Revert "Guess whos back (#5184)"
This reverts commit c7b49fa82c.

Guess who broke the build
2020-12-18 17:29:53 -05:00
Carlos c7b49fa82c
Guess whos back (#5184)
non scanlator removals requests are
2020-12-18 16:10:19 -05:00
arkon d84a4c90b1
Project reorganization (#5096)
* Rename AndroidConfig to Config

* Move base AndroidManifest.xml

* Make fallback icons into an Android module

* Add example of how to only load a single extension in Gradle project
2020-12-11 09:41:48 -05:00
arkon f83482f8ba
Add ability to flag individual sources as NSFW (#4058) 2020-08-08 18:58:09 -04:00
arkon 149bda765b
Add ability to flag extension as NSFW (#4053) 2020-08-08 15:59:03 -04:00