Skip to content

Commit d35c70a

Browse files
authored
sourceCompatibility 1.7 and targetCompatibility 1.7 are obsolete, use 1.8 by default (#2942)
1 parent bb63f76 commit d35c70a

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

pythonforandroid/bootstraps/common/build/templates/build.tmpl.gradle

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -82,13 +82,8 @@ android {
8282
}
8383

8484
compileOptions {
85-
{% if args.enable_androidx %}
8685
sourceCompatibility JavaVersion.VERSION_1_8
8786
targetCompatibility JavaVersion.VERSION_1_8
88-
{% else %}
89-
sourceCompatibility JavaVersion.VERSION_1_7
90-
targetCompatibility JavaVersion.VERSION_1_7
91-
{% endif %}
9287
{%- for option in args.compile_options %}
9388
{{option}}
9489
{%- endfor %}

0 commit comments

Comments
 (0)