diff options
author | Karima Ichou <karimai@google.com> | 2021-10-15 15:40:18 +0100 |
---|---|---|
committer | Yuriy Solodkyy <solodkyy@google.com> | 2021-10-15 20:50:03 +0000 |
commit | df887dc7cb796d01afc5c476d2c572fa01042ad1 (patch) | |
tree | 1b929ecc7fea56bd6f2467b9cdbfc4ab3831812b /android-lint/src | |
parent | a4cb82ec0d03f0fc39326d70c6a221b0caff19d7 (diff) | |
download | idea-df887dc7cb796d01afc5c476d2c572fa01042ad1.tar.gz |
Sort lint libraries in the snapshots.
This is to prepare for enabling V2 sync. The order of the libraries
isn't necessarily the same in V2 and this is due to a difference in
setting the android/module libraries in V2.
Bug: N/A
Test: Updated
Change-Id: Ieb5d8201ccf7aaff5e589360d93e8b2fb377e823
Diffstat (limited to 'android-lint/src')
-rw-r--r-- | android-lint/src/com/android/tools/idea/lint/model/LintModelDumper.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/android-lint/src/com/android/tools/idea/lint/model/LintModelDumper.kt b/android-lint/src/com/android/tools/idea/lint/model/LintModelDumper.kt index 66b08b4c710..eab671e10e7 100644 --- a/android-lint/src/com/android/tools/idea/lint/model/LintModelDumper.kt +++ b/android-lint/src/com/android/tools/idea/lint/model/LintModelDumper.kt @@ -180,7 +180,7 @@ private fun ProjectDumper.dump(lintModelVariant: LintModelVariant) { head("LibraryResolver") nest { - libraryResolver.getAllLibraries().forEach { dump(it) } + libraryResolver.getAllLibraries().sortedBy { it.artifactAddress }.forEach { dump(it) } } } } |