Copy extra file into Android META-INF

I need to add an extra file to the META-INF area in an APK. I know I can add files to src/main/assets and they will automatically be added to the APK, but ideally I would like to add a file to META-INF. How can I do that?

Thank you for your help!