Please do not split topics across several threads.
This makes following the conversation in the threads view very hard as the context of the other messages is missing.
If you have additional information either edit the original message or post to its thread.
Also, please do not post such wall-of-texts in the channel, but post a compact initial message and then add the longer snippets in the thread to that message, otherwise the channel is for example very hard to follow on mobile.
Regarding the problem, that is not at all a Gradle problem, so off-topic here. The only Gradle relation is, that you use it to start your code. but the problem is some JVM crash in some native code that is happening while running your code.