Re:Android Studio 2.0 Is Google’s New, Improved Development ...
by vorg on Friday April 29, 2016 @06:44PM
(#11599229)
It's a stretch to say Gradle "uses Groovy". In practise, it more like uses a tiny non-Turing Complete subset of Groovy.
[ Parent
| on HN ]
Re:Android Studio 2.0 Is Google’s New, Improved Development ...
by amake on Friday April 29, 2016 @08:37PM
(#11599685)
No, large parts of Gradle are actually implemented in Groovy. You're referring to the DSL, which can be used purely declaratively, but it's not limited to such use (you can use all Groovy language featured in Gradle scripts).
Re:Android Studio 2.0 Is Google’s New, Improved Development ...
by vorg on Saturday April 30, 2016 @05:33AM
(#11601055)
> large parts of Gradle are actually implemented in Groovy
I thought it was just the plugin and DSL handling code. That would explain why Gradle's so slow, then.
> the DSL, which can be used purely declaratively, but it's not limited to such use
Virtually no-one uses Groovy procedurally, only declaratively, in Gradle build scripts, so although that's true in theory, in practise only the non-Turing Complete portions of Groovy are used. Calling it a programming language there is like calling HTML one because you can embed Javascript in HTML.