Cannot build an app with gradle 6.6.1 on solar2d

I’m using Solar 2d corona sdk simulator to make apps,i just created one and when the building process was going up it gave a build error#1 message,it also said "could not initialize class org.codehaus.groovy.reflection.ReflectionCache and said i should get help from the gradle forum,so please help i would reallt appreciate it because i can’t build the app i worked so hard to make