Skip to content

Conversation

@shs96c
Copy link
Collaborator

@shs96c shs96c commented Nov 28, 2025

This provides information that the java gazelle plugin will use to more accurately determine where to load dependencies from.

Note: the index file will be substantially larger than the lock file since it contains far more data (the name of every single top-level class in every dependency)

@shs96c shs96c requested review from cheister and jin as code owners November 28, 2025 17:18
@@ -0,0 +1,139 @@
{
"__AUTOGENERATED_FILE_DO_NOT_MODIFY_THIS_FILE_MANUALLY": "THERE_IS_NO_DATA_ONLY_ZUUL",
"classes": {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why doesn't this include all of the classes from

"androidx.compose.foundation:foundation-layout:1.5.0-beta01",
"androidx.annotation:annotation:1.6.0",
"com.squareup.okhttp3:okhttp:4.12.0",
"com.almworks.sqlite4java:libsqlite4java-linux-i386:1.0.392",
"androidx.fragment:fragment-ktx:1.6.1",

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We only populate the classes dict when there are split packages. When there's no split package, we put the coordinates in the packages dict. That keeps the size of the index file down (for a large repo, if we listed all the classes the index file would be 12MB, with this approach it's down to 4MB, and the lock file is 2MB)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants