File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed
pythonforandroid/bootstraps/common/build Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -753,6 +753,10 @@ def parse_args_and_make_package(args=None):
753753 default = [],
754754 action = 'append' ,
755755 help = 'Ddd a repository for gradle' )
756+ ap .add_argument ('--add-gradle-buildscript-depends' , dest = 'gradle_buildscript_depends' ,
757+ default = [],
758+ action = 'append' ,
759+ help = 'Add a buildscript dependencies for gradle' )
756760 ap .add_argument ('--add-packaging-option' , dest = 'packaging_options' ,
757761 default = [],
758762 action = 'append' ,
Original file line number Diff line number Diff line change @@ -6,6 +6,9 @@ buildscript {
66 }
77 dependencies {
88 classpath ' com.android.tools.build:gradle:7.1.2'
9+ {%- for depend in args. gradle_buildscript_depends % }
10+ classpath ' {{depend}}'
11+ {%- endfor % }
912 }
1013}
1114
You can’t perform that action at this time.
0 commit comments