aboutsummaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorkmartynkov <kmartynkov@yandex-team.com>2023-11-11 18:56:08 +0300
committerkmartynkov <kmartynkov@yandex-team.com>2023-11-11 19:13:41 +0300
commitb6c20a8a26d0be34045f2604b4da1ee189920ed2 (patch)
treec4f65fac4c331d05c1027c9be048a27129d18398 /build
parent0c53576b2c09a1e4076a3fd197bee3f046846c94 (diff)
downloadydb-b6c20a8a26d0be34045f2604b4da1ee189920ed2.tar.gz
up java to 8 for MapKit
Diffstat (limited to 'build')
-rw-r--r--build/scripts/gen_aar_gradle_script.py5
-rw-r--r--build/scripts/gen_test_apk_gradle_script.py4
2 files changed, 9 insertions, 0 deletions
diff --git a/build/scripts/gen_aar_gradle_script.py b/build/scripts/gen_aar_gradle_script.py
index 67c3ac2ef3..35431c083b 100644
--- a/build/scripts/gen_aar_gradle_script.py
+++ b/build/scripts/gen_aar_gradle_script.py
@@ -108,6 +108,11 @@ android {{
compileSdkVersion compileVersion
buildToolsVersion buildVersion
+ compileOptions {{
+ sourceCompatibility 1.8
+ targetCompatibility 1.8
+ }}
+
defaultConfig {{
minSdkVersion minVersion
targetSdkVersion targetVersion
diff --git a/build/scripts/gen_test_apk_gradle_script.py b/build/scripts/gen_test_apk_gradle_script.py
index b3a4f89e46..737091e155 100644
--- a/build/scripts/gen_test_apk_gradle_script.py
+++ b/build/scripts/gen_test_apk_gradle_script.py
@@ -65,6 +65,10 @@ android {{
compileSdkVersion 30
buildToolsVersion "30.0.3"
+ compileOptions {{
+ sourceCompatibility 1.8
+ targetCompatibility 1.8
+ }}
defaultConfig {{
minSdkVersion 21