Multiarch (x86-arm64) Builds With Gradle

Hello. Have a java application that I would like to run on both x86 and arm64 architectures. Looking for help with creating a multiarch jar file in gradle. Is there a current plugin that can be used for this? Currently using gradle version 4.8.1. Would I need to upgrade the gradle version or can this be done with the 4.8.1 version? Any help with this would be greatly appreciated.

I might repeat myself, but as I said in Discord, unless you have native code involved, a jar is not architecture dependent.
You can surely use 4.8.1, but why should you? We are at 7.3.1 already.