Custom build tasks

is it possible to customize the build process, i.e. execute an additional ant task or some haxe code at certain points of the build process without the need to hack the lime/openfl libraries? I’m coming from Maven where you can define additional plugins to be executed, e.g. after source compilation or before packaging.

I want to do some pre-computations based on assets before the final Android APK is assembled.

Reviewing the Android build process, it doesn’t look like there are any callbacks.

It’s possible to overwrite using a template file, but I don’t know if that would let you specify a task…

Android extensions should also be able to do things in their own XML, also, this may all change when we inevitably have to move to Gradle, I suppose…