From 7513bf6a8b0b5a019a519abc148f649a12f06cee Mon Sep 17 00:00:00 2001
From: Volodymyr Buberenko <v.buberenko@gmail.com>
Date: Tue, 18 Oct 2022 13:48:00 +0300
Subject: [PATCH 1/2] chore(sensors_plus): Update Kotlin and Gradle versions

---
 packages/sensors_plus/sensors_plus/android/build.gradle       | 4 ++--
 .../sensors_plus/sensors_plus/example/android/build.gradle    | 2 +-
 .../example/android/gradle/wrapper/gradle-wrapper.properties  | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/packages/sensors_plus/sensors_plus/android/build.gradle b/packages/sensors_plus/sensors_plus/android/build.gradle
index ee8047d168..fb30a7eb12 100644
--- a/packages/sensors_plus/sensors_plus/android/build.gradle
+++ b/packages/sensors_plus/sensors_plus/android/build.gradle
@@ -2,14 +2,14 @@ group 'io.flutter.plugins.sensors'
 version '1.0-SNAPSHOT'
 
 buildscript {
-    ext.kotlin_version = '1.6.10'
+    ext.kotlin_version = '1.7.20'
     repositories {
         google()
         mavenCentral()
     }
 
     dependencies {
-        classpath 'com.android.tools.build:gradle:7.1.1'
+        classpath 'com.android.tools.build:gradle:7.3.1'
         classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
     }
 }
diff --git a/packages/sensors_plus/sensors_plus/example/android/build.gradle b/packages/sensors_plus/sensors_plus/example/android/build.gradle
index 3865eb4c22..3593d96365 100644
--- a/packages/sensors_plus/sensors_plus/example/android/build.gradle
+++ b/packages/sensors_plus/sensors_plus/example/android/build.gradle
@@ -5,7 +5,7 @@ buildscript {
     }
 
     dependencies {
-        classpath 'com.android.tools.build:gradle:7.1.1'
+        classpath 'com.android.tools.build:gradle:7.3.1'
     }
 }
 
diff --git a/packages/sensors_plus/sensors_plus/example/android/gradle/wrapper/gradle-wrapper.properties b/packages/sensors_plus/sensors_plus/example/android/gradle/wrapper/gradle-wrapper.properties
index c17f829cd3..5ff2e60535 100644
--- a/packages/sensors_plus/sensors_plus/example/android/gradle/wrapper/gradle-wrapper.properties
+++ b/packages/sensors_plus/sensors_plus/example/android/gradle/wrapper/gradle-wrapper.properties
@@ -1,5 +1,5 @@
 distributionBase=GRADLE_USER_HOME
-distributionUrl=https\://services.gradle.org/distributions/gradle-7.4-bin.zip
+distributionUrl=https\://services.gradle.org/distributions/gradle-7.5.1-bin.zip
 distributionPath=wrapper/dists
 zipStorePath=wrapper/dists
 zipStoreBase=GRADLE_USER_HOME

From a53a9a00ebbcb2a503c5667b228be49dde3fcaee Mon Sep 17 00:00:00 2001
From: Volodymyr Buberenko <v.buberenko@gmail.com>
Date: Tue, 18 Oct 2022 13:49:36 +0300
Subject: [PATCH 2/2] ci(sensors_plus): Add Dependabot config for Android
 dependencies

---
 .github/dependabot.yml | 24 ++++++++++++++++++++----
 1 file changed, 20 insertions(+), 4 deletions(-)

diff --git a/.github/dependabot.yml b/.github/dependabot.yml
index 1058b55882..7752ff277e 100644
--- a/.github/dependabot.yml
+++ b/.github/dependabot.yml
@@ -16,7 +16,7 @@ updates:
       include: "scope"
 
 # Website dependencies updates config
-     
+
   - package-ecosystem: "npm"
     directory: "/website"
     schedule:
@@ -24,9 +24,9 @@ updates:
     commit-message:
       prefix: "chore"
       include: "scope"
-      
+
 # Android Alarm Manager dependencies updates config
-      
+
   - package-ecosystem: "pub"
     directory: "/packages/android_alarm_manager_plus"
     schedule:
@@ -44,7 +44,7 @@ updates:
       include: "scope"
 
  # Android Intent Plus dependencies updates config
-      
+
   - package-ecosystem: "pub"
     directory: "/packages/android_intent_plus"
     schedule:
@@ -217,6 +217,22 @@ updates:
       prefix: "chore"
       include: "scope"
 
+  - package-ecosystem: "gradle"
+    directory: "/packages/sensors_plus/sensors_plus/android"
+    schedule:
+      interval: "monthly"
+    commit-message:
+      prefix: "chore"
+      include: "scope"
+
+  - package-ecosystem: "gradle"
+    directory: "/packages/sensors_plus/sensors_plus/example/android"
+    schedule:
+      interval: "monthly"
+    commit-message:
+      prefix: "chore"
+      include: "scope"
+
 # Share Plus dependencies updates config
 
   - package-ecosystem: "pub"
