Ext {} closure error

Hi Gradle team,

I have defined few variables in ext {} closure, when I run “gradle clean”, I am getting error as blow.

Error :
Unexpected input ‘{’ @ line 40, column 4. Ext{

I have attached screenshot also, can you help me in resolving it.

Rakesh K

Besides that most usages of ext are a hacky work-around for not doing it properly anyway, are you sure you are looking at the correct file?
Your error message says column 4 and shows ext{, while your code has it at column 5 and shows ext {.