dipien / bye-bye-jetifier

Gradle Plugin to verify if you can keep Android Jetifier disabled
http://byebyejetifier.dipien.com
Apache License 2.0
202 stars 5 forks source link

Use unique identifier for output Project name #60

Closed kevinzetterstrom closed 2 years ago

kevinzetterstrom commented 2 years ago

In a large project (my project is hundreds of gradle modules), project names may not be unique. As an example, consider the following project structure:

/ app1
  /library
  /app
/ app2
  /library
  /app

When bye-bye-jetifier runs at the root level, it would output something like

=========================================
Project: library
=========================================
...
=========================================
Project: app
=========================================
...
=========================================
Project: library
=========================================
...
=========================================
Project: app
=========================================
...

This makes it difficult to understand which Project has an issue when project module names collide.

Gradle suggests that Project.name is not unique within a project, and Project.path should be used instead.

It would be good to update project.name to project.path