From 2413e45e88fa6a431c29f8e6240780e20c405453 Mon Sep 17 00:00:00 2001 From: Volodymyr Date: Mon, 18 Mar 2024 16:33:27 +0200 Subject: [PATCH] build(connectivity_plus)!: Target Java 17 on Android --- .../connectivity_plus/connectivity_plus/android/build.gradle | 4 ++-- .../connectivity_plus/example/android/app/build.gradle | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/connectivity_plus/connectivity_plus/android/build.gradle b/packages/connectivity_plus/connectivity_plus/android/build.gradle index d567cda12b..f9cef4c00a 100644 --- a/packages/connectivity_plus/connectivity_plus/android/build.gradle +++ b/packages/connectivity_plus/connectivity_plus/android/build.gradle @@ -27,8 +27,8 @@ android { namespace 'dev.fluttercommunity.plus.connectivity' compileOptions { - sourceCompatibility JavaVersion.VERSION_1_8 - targetCompatibility JavaVersion.VERSION_1_8 + sourceCompatibility JavaVersion.VERSION_17 + targetCompatibility JavaVersion.VERSION_17 } defaultConfig { diff --git a/packages/connectivity_plus/connectivity_plus/example/android/app/build.gradle b/packages/connectivity_plus/connectivity_plus/example/android/app/build.gradle index 05f43d88e6..0420d9f355 100644 --- a/packages/connectivity_plus/connectivity_plus/example/android/app/build.gradle +++ b/packages/connectivity_plus/connectivity_plus/example/android/app/build.gradle @@ -30,8 +30,8 @@ android { namespace 'io.flutter.plugins.connectivityexample' compileOptions { - sourceCompatibility JavaVersion.VERSION_1_8 - targetCompatibility JavaVersion.VERSION_1_8 + sourceCompatibility JavaVersion.VERSION_17 + targetCompatibility JavaVersion.VERSION_17 } lintOptions {