Skip to content

Conversation

tresat
Copy link
Member

@tresat tresat commented Jul 29, 2025

Recommends that root projects be explicitly named in settings files.

This ensures consistency and avoids potential issues with default naming based on directory names.

./gradlew :docs:docsTest --tests "*snippet-best-practices-name-your-root-project*"

@tresat tresat requested review from a team as code owners July 29, 2025 21:21
@tresat tresat self-assigned this Jul 29, 2025
@tresat
Copy link
Member Author

tresat commented Jul 29, 2025

@bot-gradle test this

@bot-gradle

This comment has been minimized.

@tresat tresat added this to the 9.2.0 RC1 milestone Jul 29, 2025
@tresat tresat added a:documentation Documentation content re:footguns-and-best-practices Issues related to avoiding pitfalls in Gradle labels Jul 29, 2025
@bot-gradle
Copy link
Collaborator

The following builds have passed:

@lkasso lkasso changed the title Add root project naming best practice Add Best Practice: Naming Root Projects Jul 29, 2025
@tresat tresat force-pushed the tt/bestpractices/92/name-your-root-project branch from 91434b5 to 9987d24 Compare August 11, 2025 20:52
@cobexer cobexer removed the request for review from a team August 14, 2025 09:26
Recommends that root projects be explicitly named in settings files.

This ensures consistency and avoids potential issues with default naming based on directory names.

Also disables CC on the serveDocs task so that errors are more visible.
@tresat tresat force-pushed the tt/bestpractices/92/name-your-root-project branch from 9987d24 to e1c99c0 Compare September 8, 2025 20:35
tresat and others added 3 commits September 8, 2025 16:40
Co-authored-by: Laura Kassovic <lkassovic@gradle.com>
Signed-off-by: Tom Tresansky <tom.tresansky@gmail.com>
@tresat tresat enabled auto-merge September 9, 2025 11:46
@tresat tresat added this pull request to the merge queue Sep 9, 2025
Merged via the queue into master with commit 3d96d2c Sep 9, 2025
27 checks passed
@tresat tresat deleted the tt/bestpractices/92/name-your-root-project branch September 9, 2025 13:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a:documentation Documentation content re:footguns-and-best-practices Issues related to avoiding pitfalls in Gradle
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants