How to Use Case In-sensitive properties in Gradle Extension

Hi,

I got an extension to my custom plugin.
The block is similar to
testExtn {
run=“input”
}

Would like to extend this to support any inputs like
RUN="input"
Run=“input”

Any suggestions ?