diff --git a/packages/android_alarm_manager_plus/example/android/app/build.gradle b/packages/android_alarm_manager_plus/example/android/app/build.gradle index 1c776ac6f2..79c25c6a74 100644 --- a/packages/android_alarm_manager_plus/example/android/app/build.gradle +++ b/packages/android_alarm_manager_plus/example/android/app/build.gradle @@ -23,7 +23,7 @@ if (flutterVersionName == null) { } android { - compileSdk 34 + compileSdk 35 namespace 'com.example.example' @@ -33,7 +33,7 @@ android { } kotlinOptions { - jvmTarget = 17 + jvmTarget = JavaVersion.VERSION_17.toString() } sourceSets { @@ -48,7 +48,7 @@ android { // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). applicationId "com.example.example" minSdk 21 - targetSdk 34 + targetSdk 35 versionCode flutterVersionCode.toInteger() versionName flutterVersionName multiDexEnabled true @@ -71,7 +71,5 @@ flutter { dependencies { testImplementation 'junit:junit:4.13.2' testImplementation "com.google.truth:truth:1.4.4" - androidTestImplementation 'androidx.test:runner:1.6.1' - androidTestImplementation 'androidx.test.espresso:espresso-core:3.6.1' api 'androidx.test:core:1.6.1' } diff --git a/packages/android_alarm_manager_plus/example/android/build.gradle b/packages/android_alarm_manager_plus/example/android/build.gradle index bc157bd1a1..f0db36b1f5 100644 --- a/packages/android_alarm_manager_plus/example/android/build.gradle +++ b/packages/android_alarm_manager_plus/example/android/build.gradle @@ -1,3 +1,8 @@ +buildscript { + ext { + agp_version = '8.7.0' + } +} allprojects { repositories { google() diff --git a/packages/android_alarm_manager_plus/example/android/gradle/wrapper/gradle-wrapper.properties b/packages/android_alarm_manager_plus/example/android/gradle/wrapper/gradle-wrapper.properties index e1bda4fd50..d8b60b3a81 100644 --- a/packages/android_alarm_manager_plus/example/android/gradle/wrapper/gradle-wrapper.properties +++ b/packages/android_alarm_manager_plus/example/android/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ -#Tue Oct 05 12:15:50 EEST 2021 +#Fri Dec 06 16:00:49 IST 2024 distributionBase=GRADLE_USER_HOME -distributionUrl=https\://services.gradle.org/distributions/gradle-8.4-bin.zip distributionPath=wrapper/dists -zipStorePath=wrapper/dists +distributionUrl=https\://services.gradle.org/distributions/gradle-8.9-bin.zip zipStoreBase=GRADLE_USER_HOME +zipStorePath=wrapper/dists 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 3efaaa1a6e..4a769c21c9 100644 --- a/packages/connectivity_plus/connectivity_plus/example/android/app/build.gradle +++ b/packages/connectivity_plus/connectivity_plus/example/android/app/build.gradle @@ -13,7 +13,7 @@ if (localPropertiesFile.exists()) { def flutterRoot = localProperties.getProperty('flutter.sdk') if (flutterRoot == null) { - throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.") + throw GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.") } def flutterVersionCode = localProperties.getProperty('flutter.versionCode') @@ -27,7 +27,7 @@ if (flutterVersionName == null) { } android { - compileSdk 34 + compileSdk 35 namespace 'io.flutter.plugins.connectivityexample' @@ -42,8 +42,8 @@ android { defaultConfig { applicationId "io.flutter.plugins.connectivityexample" - minSdk 21 - targetSdk 34 + minSdk 23 + targetSdk 35 versionCode flutterVersionCode.toInteger() versionName flutterVersionName testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" diff --git a/packages/connectivity_plus/connectivity_plus/example/android/gradle.properties b/packages/connectivity_plus/connectivity_plus/example/android/gradle.properties index 94adc3a3f9..d309f50f16 100644 --- a/packages/connectivity_plus/connectivity_plus/example/android/gradle.properties +++ b/packages/connectivity_plus/connectivity_plus/example/android/gradle.properties @@ -1,3 +1,3 @@ -org.gradle.jvmargs=-Xmx1536M +org.gradle.jvmargs=-Xmx4096m android.useAndroidX=true android.enableJetifier=true diff --git a/packages/device_info_plus/device_info_plus/example/android/app/build.gradle b/packages/device_info_plus/device_info_plus/example/android/app/build.gradle index 1e70360c4e..d1a8ef36a1 100644 --- a/packages/device_info_plus/device_info_plus/example/android/app/build.gradle +++ b/packages/device_info_plus/device_info_plus/example/android/app/build.gradle @@ -23,7 +23,7 @@ if (flutterVersionName == null) { } android { - compileSdk 34 + compileSdk 35 namespace 'io.flutter.plugins.deviceinfoexample.example' @@ -33,7 +33,7 @@ android { } kotlinOptions { - jvmTarget = 17 + jvmTarget = JavaVersion.VERSION_17.toString() } sourceSets { @@ -47,7 +47,7 @@ android { defaultConfig { applicationId "io.flutter.plugins.deviceinfoexample.example" minSdk 21 - targetSdk 34 + targetSdk 35 versionCode flutterVersionCode.toInteger() versionName flutterVersionName } diff --git a/packages/device_info_plus/device_info_plus/example/android/build.gradle b/packages/device_info_plus/device_info_plus/example/android/build.gradle index bc157bd1a1..f0db36b1f5 100644 --- a/packages/device_info_plus/device_info_plus/example/android/build.gradle +++ b/packages/device_info_plus/device_info_plus/example/android/build.gradle @@ -1,3 +1,8 @@ +buildscript { + ext { + agp_version = '8.7.0' + } +} allprojects { repositories { google() diff --git a/packages/device_info_plus/device_info_plus/example/android/gradle/wrapper/gradle-wrapper.properties b/packages/device_info_plus/device_info_plus/example/android/gradle/wrapper/gradle-wrapper.properties index 448814c79e..8298382b7c 100644 --- a/packages/device_info_plus/device_info_plus/example/android/gradle/wrapper/gradle-wrapper.properties +++ b/packages/device_info_plus/device_info_plus/example/android/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,5 @@ -#Tue Oct 05 15:15:38 CEST 2021 +#Fri Dec 06 17:09:54 IST 2024 distributionBase=GRADLE_USER_HOME -distributionUrl=https\://services.gradle.org/distributions/gradle-8.4-bin.zip distributionPath=wrapper/dists -zipStorePath=wrapper/dists +distributionUrl=https\://services.gradle.org/distributions/gradle-8.9-bin.zip zipStoreBase=GRADLE_USER_HOME diff --git a/packages/device_info_plus/device_info_plus_platform_interface/pubspec.yaml b/packages/device_info_plus/device_info_plus_platform_interface/pubspec.yaml index de09ee9785..712d4d4e74 100644 --- a/packages/device_info_plus/device_info_plus_platform_interface/pubspec.yaml +++ b/packages/device_info_plus/device_info_plus_platform_interface/pubspec.yaml @@ -8,7 +8,7 @@ dependencies: flutter: sdk: flutter meta: ^1.8.0 - plugin_platform_interface: ^2.1.4 + plugin_platform_interface: ^2.1.8 dev_dependencies: flutter_lints: ">=4.0.0 <6.0.0" diff --git a/pubspec.yaml b/pubspec.yaml index 9b418e3b20..18778ec2f8 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -4,5 +4,5 @@ environment: sdk: ">=3.3.0 <4.0.0" dev_dependencies: - flutter_lints: ^4.0.0 + flutter_lints: ^5.0.0 melos: ^6.0.0