diff options
author | trivias <trivias@yandex-team.ru> | 2022-02-10 16:46:12 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:46:12 +0300 |
commit | 11ab7328455192b9cdb4bbb79f8615bf356182ca (patch) | |
tree | e0efa000afff888a01a2c43e28784c44829472a5 /build/scripts/gen_aar_gradle_script.py | |
parent | 6d9304bc5310ea888178fc8640d175001436d29d (diff) | |
download | ydb-11ab7328455192b9cdb4bbb79f8615bf356182ca.tar.gz |
Restoring authorship annotation for <trivias@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'build/scripts/gen_aar_gradle_script.py')
-rw-r--r-- | build/scripts/gen_aar_gradle_script.py | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/build/scripts/gen_aar_gradle_script.py b/build/scripts/gen_aar_gradle_script.py index 4594e67278..f05cc84fa9 100644 --- a/build/scripts/gen_aar_gradle_script.py +++ b/build/scripts/gen_aar_gradle_script.py @@ -45,10 +45,10 @@ ext.androidArs = [ {aars} ] -ext.compileOnlyAndroidArs = [ - {compile_only_aars} -] - +ext.compileOnlyAndroidArs = [ + {compile_only_aars} +] + def minVersion = 21 def compileVersion = 30 def targetVersion = 30 @@ -139,8 +139,8 @@ android {{ compile(bundle) {{ transitive = true }} - for (bundle in compileOnlyAndroidArs) - compileOnly(bundle) + for (bundle in compileOnlyAndroidArs) + compileOnly(bundle) }} android.libraryVariants.all {{ variant -> @@ -307,7 +307,7 @@ def gen_build_script(args): return AAR_TEMPLATE.format( aars=wrap(args.aars), - compile_only_aars=wrap(args.compile_only_aars), + compile_only_aars=wrap(args.compile_only_aars), aidl_dirs=wrap(args.aidl_dirs), assets_dirs=wrap(args.assets_dirs), bundles=wrap(bundles), @@ -327,7 +327,7 @@ def gen_build_script(args): if __name__ == '__main__': parser = argparse.ArgumentParser() parser.add_argument('--aars', nargs='*', default=[]) - parser.add_argument('--compile-only-aars', nargs='*', default=[]) + parser.add_argument('--compile-only-aars', nargs='*', default=[]) parser.add_argument('--aidl-dirs', nargs='*', default=[]) parser.add_argument('--assets-dirs', nargs='*', default=[]) parser.add_argument('--bundle-name', nargs='?', default='default-bundle-name') |