Since 64bit Linux systems can build with build tools 29.0.3 too
and RenderScript.forceCompat() is only executed for Lineage OS
now.
Still, do NOT build release versions with macOS Catalina or the
build will break on Lineage OS!
Calling RenderScript.forceCompat() on a build that was made with the
new build tools (which are required to make RenderScript build again
on macOS Catalina), results in a RSRuntimeException (Loading of ScriptC
script failed).
RenderScript.forceCompat() was introduced to fix RenderScript for
Lineage 16.0. Maybe this is no longer required with those new build
tools?
Yes, this means this setup is producing platform independent builds
that have different features depending on what platform they were
built on. And yes, that's as bad as it sounds.
So, for the time being, it's probably better to _NOT_ use Catalina
to make release builds.
Since RenderScript can no longer be compiled on macOS Catalina
because Catalina cannot run 32bit binaries and Google failed
to provide a 64bit compiler in time. Now, as if that wasn't
bad enough, the new build tools that provide a 64bit compiler
don't work on any other system than macOS unfortunately.
For details on the issue see:
https://issuetracker.google.com/issues/142590626
This reverts commit cf4020c613.
Those new build tools don't work on other systems than macOS
Catalina and even there produce broken builds :(
Also, it looks like the only solution is to remove
`RenderScript.forceCompat()` what's probably no longer
required to support Lineage 16.0 with those new build tools.
Confirmation pending.
* Replaced List with Flow to keep the memory usage low while exporting
* Updated kotlin to 1.3.50
* Updated kotlinx.coroutines to 1.3.2 to have stable Flow support
* Cleaned CSVBuilder#buildWith to simplify code