FAILURE: Build aborted because of an internal error. * What went wrong: Build aborted because of an unexpected internal error. Please file an issue at: http://forums.gradle.org. * Try: Run with --debug option to get additional debug info. * Exception is: java.lang.ExceptionInInitializerError at org.gradle.internal.nativeplatform.filesystem.FileSystems.getDefault(FileSystems.java:22) at org.gradle.initialization.DefaultCommandLineConverter.convert(DefaultCommandLineConverter.java:99) at org.gradle.initialization.DefaultCommandLineConverter.convert(DefaultCommandLineConverter.java:35) at org.gradle.launcher.cli.BuildActionsFactory.createAction(BuildActionsFactory.java:75) at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.createAction(CommandLineActionFactory.java:206) at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:196) at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:174) at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:170) at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:139) at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:33) at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:22) at org.gradle.launcher.Main.doAction(Main.java:48) at org.gradle.launcher.bootstrap.EntryPoint.run(EntryPoint.java:45) at org.gradle.launcher.Main.main(Main.java:39) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.gradle.launcher.bootstrap.ProcessBootstrap.runNoExit(ProcessBootstrap.java:50) at org.gradle.launcher.bootstrap.ProcessBootstrap.run(ProcessBootstrap.java:32) at org.gradle.launcher.GradleMain.main(GradleMain.java:26) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.gradle.wrapper.BootstrapMainStarter.start(BootstrapMainStarter.java:33) at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:130) at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:47) Caused by: java.lang.IllegalArgumentException: Unrecognized calling convention: 4 at com.sun.jna.Function.invokeInt(Native Method) at com.sun.jna.Function.invoke(Function.java:344) at com.sun.jna.Function.invoke(Function.java:276) at com.sun.jna.Library$Handler.invoke(Library.java:216) at $Proxy2.symlink(Unknown Source) at org.gradle.internal.nativeplatform.filesystem.LibcSymlink.symlink(LibcSymlink.java:35) at org.gradle.internal.nativeplatform.filesystem.GenericFileSystem.tryCreateSymbolicLink(GenericFileSystem.java:53) at org.gradle.internal.nativeplatform.filesystem.GenericFileSystem.probeCanCreateSymbolicLink(GenericFileSystem.java:121) at org.gradle.internal.nativeplatform.filesystem.GenericFileSystem.(GenericFileSystem.java:86) at org.gradle.internal.nativeplatform.filesystem.FileSystems$DefaultFileSystem.(FileSystems.java:30) ... 28 more