From 300bc7181783be6c8f68787a9fb9159c8a78d90a Mon Sep 17 00:00:00 2001 From: Mirko Galimberti Date: Sat, 16 Dec 2023 17:30:08 +0100 Subject: [PATCH] sourceCompatibility 1.7 and targetCompatibility 1.7 are obsolete, use 1.8 by default --- .../bootstraps/common/build/templates/build.tmpl.gradle | 5 ----- 1 file changed, 5 deletions(-) diff --git a/pythonforandroid/bootstraps/common/build/templates/build.tmpl.gradle b/pythonforandroid/bootstraps/common/build/templates/build.tmpl.gradle index b46c9030ff..750a435d99 100644 --- a/pythonforandroid/bootstraps/common/build/templates/build.tmpl.gradle +++ b/pythonforandroid/bootstraps/common/build/templates/build.tmpl.gradle @@ -82,13 +82,8 @@ android { } compileOptions { - {% if args.enable_androidx %} sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 - {% else %} - sourceCompatibility JavaVersion.VERSION_1_7 - targetCompatibility JavaVersion.VERSION_1_7 - {% endif %} {%- for option in args.compile_options %} {{option}} {%- endfor %}