Is it possible to make gradle accept "-" in resource names?

I have a case that our library is shipped in the wild and there is no way I can update them using OTA.
The library is initially built using Soong (aosp build system) which didn’t bug me about this resource name. now we’re trying to move to gradle and this is becoming an issue for us.

I was wondering if it’s possible to make gradle accept “-” in resource names? I don’t think this is an issue with AAPT2 though.

I reached out to the AGP team directly and they fixed the issue for overlayable resource type. it will be available in AGP 7.1.0-beta01 and 7.2.0-alpha01