We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 378b025 commit 137411fCopy full SHA for 137411f
pythonforandroid/bootstraps/common/build/templates/build.tmpl.gradle
@@ -76,8 +76,13 @@ android {
76
}
77
78
compileOptions {
79
+ {% if args.enable_androidx %}
80
+ sourceCompatibility JavaVersion.VERSION_1_8
81
+ targetCompatibility JavaVersion.VERSION_1_8
82
+ {% else %}
83
sourceCompatibility JavaVersion.VERSION_1_7
84
targetCompatibility JavaVersion.VERSION_1_7
85
+ {% endif %}
86
{%- for option in args.compile_options %}
87
{{option}}
88
{%- endfor %}
0 commit comments