Caused by: java.lang.NoClassDefFoundError: org/gradle/api/internal/DynamicObject
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
at java.lang.Class.getDeclaredMethods(Class.java:1975)
at org.gradle.internal.reflect.ClassInspector.inspectClass(ClassInspector.java:67)
at org.gradle.internal.reflect.ClassInspector.visitGraph(ClassInspector.java:51)
at org.gradle.internal.reflect.ClassInspector.inspect(ClassInspector.java:31)
at org.gradle.api.internal.AbstractClassGenerator.inspectType(AbstractClassGenerator.java:260)
at org.gradle.api.internal.AbstractClassGenerator.inspectType(AbstractClassGenerator.java:216)
at org.gradle.api.internal.AbstractClassGenerator.generateUnderLock(AbstractClassGenerator.java:95)
... 82 more
Caused by: java.lang.ClassNotFoundException: org.gradle.api.internal.DynamicObject
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 91 more