File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed
pythonforandroid/bootstraps/common/build Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -572,7 +572,8 @@ def make_package(args):
572
572
render (
573
573
'gradle.tmpl.properties' ,
574
574
'gradle.properties' ,
575
- args = args )
575
+ args = args ,
576
+ bootstrap_name = get_bootstrap_name ())
576
577
577
578
# ant build templates
578
579
render (
Original file line number Diff line number Diff line change
1
+ {% if bootstrap_name == "qt" %}
2
+ # For tweaking memory settings. Otherwise, a p4a session with Qt bootstrap and PySide6 recipe
3
+ # terminates with a Java out of memory exception
4
+ org.gradle.jvmargs =-Xmx2500m -XX:MaxMetaspaceSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
5
+ {% endif %}
1
6
{% if args.enable_androidx %}
2
7
android.useAndroidX =true
3
8
android.enableJetifier =true
You can’t perform that action at this time.
0 commit comments