On 28/12/2010, at 4:03 AM, evgenyg wrote:

> 
> But can I ask the reason for not allowing to override a "name" ? Why is it so
> special that I should define it in "settings.gradle" but "group" and
> "version" in "build.gradle" ?

It's largely historical. For the Gradle 1.0 release, we plan to merge the 
settings.gradle into the build file, so that you can set these values in the 
same place.

The project name will be mostly immutable. It is used to identify the project 
and its elements (tasks, configurations, etc) in a multi-project build, so once 
a project has been referenced by name, the name will be 'locked' and it will no 
longer be possible to change it.


--
Adam Murdoch
Gradle Developer
http://www.gradle.org
CTO, Gradle Inc. - Gradle Training, Support, Consulting
http://www.gradle.biz

Reply via email to