Commit Graph

7 Commits

Author SHA1 Message Date
arkon 3d0af119ce
Compile to SDK 30, update lib dependencies (#7187) 2021-05-22 16:04:17 -04:00
E3FxGaming 66c0ee00b8
Fix for the multi-sources not being generated properly (#6430)
* Potential fix for the multi-sources not being generated properly

As described here https://www.infoworld.com/article/2071275/when-runtime-exec---won-t.html under "Listing 4.2 BadExecJavac2.java" the limited buffer size of the standard input associated with the sub-process can cause problems with the Runtime exec method.

Consuming what the sub-process outputs should in theory allow for the process to finish (+ if you enable log level debug we could get some nice debug information in the future).

I've tested this on my local machine and it works there, please do not accept the PR with this commit before the Github checks pass successfully and I've looked further into this.

* Multi-sources not being generated properly - ErrorStream redirect

Now redirecting the errorStream of the sub-process to the standard output of the subprocess, so that we can consume it with the `javaProcess.inputStream` stream.
2021-04-05 10:37:29 -04:00
arkon 580754e668 Separate out generator logic from the multisrc boilerplate itself 2021-03-09 18:02:17 -05:00
Aria Moradi d14bfcb1ad
[SKIP CI] improve tasks, support AndroidManifest override (#5695)
* improve tasks, support AndroidManifest override

* remove unnecessary arguments
2021-02-08 09:08:45 -05:00
arkon bec4c0a666 Minor multisrc cleanup, support versionId 2021-02-07 15:00:55 -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