Skip to content

Commit

Permalink
Declare root project name (#5061)
Browse files Browse the repository at this point in the history
Declare the root project's name. That's an [official Gradle recommendation]:

>Define the root project name in the settings file: The rootProject.name effectively assigns a name to the build, used in reports like Build Scans. If the root project name is not set, the name will be the container directory name, which can be unstable (i.e., you can check out your project in any directory). The name will be generated randomly if the root project name is not set and checked out to a file system’s root (e.g., / or C:\).

[1]: https://docs.gradle.org/current/userguide/multi_project_builds.html#sec:naming_recommendations
  • Loading branch information
gabrielfeo authored Feb 18, 2025
1 parent 05795eb commit cb65fd0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ pluginManagement {
}
}

rootProject.name = "rewrite"

// ---------------------------------------------------------------
// ------ Included Projects --------------------------------------
// ---------------------------------------------------------------
Expand Down

0 comments on commit cb65fd0

Please sign in to comment.