From b4d25e51f601abd58426001dd05c18dbd7a1c645 Mon Sep 17 00:00:00 2001 From: Brett Chabot Date: Tue, 27 Oct 2026 10:34:42 -0700 Subject: [PATCH] Internal PiperOrigin-RevId: 1008209659 --- tools/release/androidx_import_generator.py | 35 ++++++++++------------ 1 file changed, 16 insertions(+), 19 deletions(-) diff --git a/tools/release/androidx_import_generator.py b/tools/release/androidx_import_generator.py index 37f803106..1cdb3151c 100644 --- a/tools/release/androidx_import_generator.py +++ b/tools/release/androidx_import_generator.py @@ -125,25 +125,22 @@ def _edit_docs_versions(): def _output_import_command(): """Output the command to download the maven artifacts in androidx repo.""" print('Run this command:') - print( - """ - development/importMaven/importMaven.sh \\ - androidx.test.espresso:espresso-accessibility:{Espresso} \\ - androidx.test.espresso:espresso-device:{Espresso Device} \\ - androidx.test.espresso:espresso-remote:{Espresso} \\ - androidx.test.espresso.idling:idling-concurrent:{Espresso} \\ - androidx.test.espresso.idling:idling-net:{Espresso} \\ - androidx.test.espresso:espresso-contrib:{Espresso} \\ - androidx.test.ext:truth:{Truth Extensions} \\ - androidx.test.ext:junit-ktx:{JUnit Extensions} \\ - androidx.test:monitor:{Monitor} \\ - androidx.test:rules:{Rules} \\ - androidx.test:runner:{Runner} \\ - androidx.test.espresso:espresso-intents:{Espresso} \\ - androidx.test:core-ktx:{Core}""".format( - **release_versions.RELEASED_VERSIONS_DICT - ) - ) + artifacts = ','.join([ + 'androidx.test.espresso:espresso-accessibility:{Espresso}', + 'androidx.test.espresso:espresso-device:{Espresso Device}', + 'androidx.test.espresso:espresso-remote:{Espresso}', + 'androidx.test.espresso.idling:idling-concurrent:{Espresso}', + 'androidx.test.espresso.idling:idling-net:{Espresso}', + 'androidx.test.espresso:espresso-contrib:{Espresso}', + 'androidx.test.ext:truth:{Truth Extensions}', + 'androidx.test.ext:junit-ktx:{JUnit Extensions}', + 'androidx.test:monitor:{Monitor}', + 'androidx.test:rules:{Rules}', + 'androidx.test:runner:{Runner}', + 'androidx.test.espresso:espresso-intents:{Espresso}', + 'androidx.test:core-ktx:{Core}', + ]).format(**release_versions.RELEASED_VERSIONS_DICT) + print(f'\n development/importMaven/importMaven.sh {artifacts}') if __name__ == '__main__':