I am getting the below exception every time when runnning the gradle task.
I have tried the option of clearing the gradle caches and add even increasing the memory
size from 1024m to 4096m in gradle.properties but still I am getting the error. Is there
anything I should do in task so that it can get executed as when I run gradle build it works
but when I run gradle executeFeatures I get the below exception.Is there any modification to be done on the build.gradle file.I tried debugging it for in gradle file but still the same exception.I have below task which want to execute based on feature wise.
Произошла ошибка при инициализации ВМ
java.lang.InternalError: Could not create SecurityManager: worker.org.gradle.process.internal.worker.child.BootstrapSecurityManager
at sun.misc.Launcher.<init>(Launcher.java:103)
at sun.misc.Launcher.<clinit>(Launcher.java:54)
at java.lang.ClassLoader.initSystemClassLoader(ClassLoader.java:1451)
at java.lang.ClassLoader.getSystemClassLoader(ClassLoader.java:1436)