File tree Expand file tree Collapse file tree
packages/device_info_plus/device_info_plus Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -20,10 +20,10 @@ Get current device information from within the Flutter application.
2020- Dart >=3.7.0 <4.0.0
2121- iOS >=12.0
2222- macOS >=10.14
23- - Android ` compileSDK ` 34
2423- Java 17
25- - Android Gradle Plugin >=8.3.0
26- - Gradle wrapper >=8.4
24+ - Kotlin 2.2.0
25+ - Android Gradle Plugin >=8.12.1
26+ - Gradle wrapper >=8.13
2727
2828# Usage
2929
Original file line number Diff line number Diff line change @@ -2,14 +2,14 @@ group 'dev.fluttercommunity.plus.device_info'
22version ' 1.0-SNAPSHOT'
33
44buildscript {
5- ext. kotlin_version = ' 1.7.22 '
5+ ext. kotlin_version = ' 2.2.0 '
66 repositories {
77 google()
88 mavenCentral()
99 }
1010
1111 dependencies {
12- classpath ' com.android.tools.build:gradle:8.3 .1'
12+ classpath ' com.android.tools.build:gradle:8.12 .1'
1313 classpath " org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version "
1414 }
1515}
@@ -25,9 +25,8 @@ apply plugin: 'com.android.library'
2525apply plugin : ' kotlin-android'
2626
2727android {
28- compileSdk 34
29-
3028 namespace ' dev.fluttercommunity.plus.device_info'
29+ compileSdk = flutter. compileSdkVersion
3130
3231 compileOptions {
3332 sourceCompatibility JavaVersion . VERSION_17
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -23,9 +23,8 @@ if (flutterVersionName == null) {
2323}
2424
2525android {
26- compileSdk 34
27-
2826 namespace ' io.flutter.plugins.deviceinfoexample.example'
27+ compileSdk = flutter. compileSdkVersion
2928
3029 compileOptions {
3130 sourceCompatibility JavaVersion . VERSION_17
@@ -46,8 +45,8 @@ android {
4645
4746 defaultConfig {
4847 applicationId " io.flutter.plugins.deviceinfoexample.example"
49- minSdk 21
50- targetSdk 34
48+ minSdk flutter . minSdkVersion
49+ targetSdk flutter . targetSdkVersion
5150 versionCode flutterVersionCode. toInteger()
5251 versionName flutterVersionName
5352 }
Original file line number Diff line number Diff line change 11# Tue Oct 05 15:15:38 CEST 2021
22distributionBase =GRADLE_USER_HOME
3- distributionUrl =https\://services.gradle.org/distributions/gradle-8.4 -bin.zip
3+ distributionUrl =https\://services.gradle.org/distributions/gradle-8.13 -bin.zip
44distributionPath =wrapper/dists
55zipStorePath =wrapper/dists
66zipStoreBase =GRADLE_USER_HOME
Original file line number Diff line number Diff line change @@ -18,8 +18,8 @@ pluginManagement {
1818
1919plugins {
2020 id " dev.flutter.flutter-plugin-loader" version " 1.0.0"
21- id " com.android.application" version " 8.3 .1" apply false
22- id " org.jetbrains.kotlin.android" version " 1.9.23 " apply false
21+ id " com.android.application" version " 8.12 .1" apply false
22+ id " org.jetbrains.kotlin.android" version " 2.2.0 " apply false
2323}
2424
2525include " :app"
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ flutter:
1919 uses-material-design : true
2020
2121environment :
22- sdk : ' >=3.4 .0 <4.0.0'
23- flutter : ' >=3.22 .0'
22+ sdk : ' >=3.7 .0 <4.0.0'
23+ flutter : ' >=3.29 .0'
2424
2525
You can’t perform that action at this time.
0 commit comments