[GRADLE-348] Let the name of the build script determine the name of the project Created: 05/Jan/09 Updated: 10/Feb/17 Resolved: 10/Feb/17 |
|
Status: | Resolved |
Project: | Gradle |
Affects Version/s: | None |
Fix Version/s: | None |
Type: | Improvement | ||
Reporter: | Hans Dockter | Assignee: | Unassigned |
Resolution: | Won't Fix | Votes: | 2 |
Issue Links: |
|
Description |
This would also make it easier to work with multiple gradle build scripts in an IDE. |
Comments |
Comment by Jon Cox [ 23/Jan/09 ] |
It might be more useful to let the project directory's name |
Comment by Adam Murdoch [ 23/Jan/09 ] |
That is what we do right now. The main problem with this approach is that often the user does not have control over the name of the root directory, such as when the build is being executed by a CI server. In addition, using the file name would encourage people to call their build files something other than build.gradle, which I think is a major goodness. |
Comment by Jon Cox [ 24/Jan/09 ] |
The CI server angle was something I hadn't considered. |
Comment by Mathias Kalb [ 07/Jan/11 ] |
Is it possible to use the subproject name as a part of the "build.gradle" name. /build.gradle This should be optional. |
Comment by Sandu Turcan [ 03/Apr/11 ] |
I sort of like the simplicity of the current naming convention. |
Comment by Hans Dockter [ 04/Apr/11 ] |
This is only what the default should be. Right now you can already set the build script names to be the project names. You can use the settings.gradle for this. Our idea is to apply this as a default pattern only for subprojects. So there would be no name conflict with the root build script name, which would be still build.gradle. In any case, whether we will do this is not decided yet. And if we change it, you will always be able to easily switch back to the current behaviour. |
Comment by Benjamin Muschko [ 15/Nov/16 ] |
As announced on the Gradle blog we are planning to completely migrate issues from JIRA to GitHub. We intend to prioritize issues that are actionable and impactful while working more closely with the community. Many of our JIRA issues are inactionable or irrelevant. We would like to request your help to ensure we can appropriately prioritize JIRA issues you’ve contributed to. Please confirm that you still advocate for your JIRA issue before December 10th, 2016 by:
We look forward to collaborating with you more closely on GitHub. Thank you for your contribution to Gradle! |
Comment by Benjamin Muschko [ 10/Feb/17 ] |
Thanks again for reporting this issue. We haven't heard back from you after our inquiry from November 15th. We are closing this issue now. Please create an issue on GitHub if you still feel passionate about getting it resolved. |