targetType does not support platform customization.
I am creating a multi-platform application and one of the platforms is Android. Since it's a GUI application, it needs to be a shared library and a function must be called from Java. I've added "targetType-android": "dynamicLibrary" to dub.json but I'm getting the following message when building: targetType does not support platform customization. However I've found a workaround for this: adding a configuration and specifying it using -c. However this might be an issue if I decide the program needs to have multiple configurations. It would be nice if you could customize the target type or the output path and determining the target type from it
determining the target path (using type + path) is currently done in a bunch of places in the code base and not standardized / using a unified API. The code for this would be needed to be cleaned to behave the same everywhere (and with that handle special cases like unittest changing the targetType to executable with special compilation flags) AND support configurations at the same time.