Is it posible to optimize groovy on android application by using gradle?

Please correct me if I’m wrong,.

As I knew, groovy is dynamic language and only generating class at runtime, it may slow down the performance when building android apps as The Dalvik VM does no really deal with that.

Is there any way to boost up the performance by using gradle build??

Groovy is compiled to bytecode just like Java, it is not interpreted at runtime. Support for developing Android applications has only recently become available in Groovy 2.4. If you want to know more I’d look at the Groovy documentation regarding this.


Glad to hear that groovy has officially support for android.


Regards, Taymindis