File tree 6 files changed +28
-12
lines changed
6 files changed +28
-12
lines changed Original file line number Diff line number Diff line change @@ -103,7 +103,24 @@ target 'Runner' do
103
103
104
104
#### Android
105
105
106
- No specific settings are required.
106
+ To ensure compatibility with the latest features, you need to update the ` minSdk ` version in your app's ` build.gradle ` file to ` 24 ` or higher.
107
+
108
+ Here's how you can do it:
109
+
110
+ 1 . Open your app's ` build.gradle ` file.
111
+ 2 . Locate the ` android ` block, and within it, find the ` defaultConfig ` block.
112
+ 3 . In the ` defaultConfig ` block, replace the current ` minSdk ` value with ` 24 ` .
113
+
114
+ Here's a diff to show what your changes might look like:
115
+
116
+ ``` diff
117
+ android {
118
+ defaultConfig {
119
+ - minSdk flutter.minSdkVersion
120
+ + minSdk 24
121
+ }
122
+ }
123
+ ```
107
124
108
125
### Importing and using
109
126
Original file line number Diff line number Diff line change @@ -9,11 +9,10 @@ buildscript {
9
9
}
10
10
11
11
dependencies {
12
- classpath ' com.android.tools.build:gradle:7.0 .1'
12
+ classpath ' com.android.tools.build:gradle:7.3 .1'
13
13
classpath " org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version "
14
14
}
15
15
16
-
17
16
}
18
17
19
18
rootProject. allprojects {
@@ -27,13 +26,13 @@ apply plugin: 'com.android.library'
27
26
apply plugin : ' kotlin-android'
28
27
29
28
android {
30
- compileSdkVersion 31
29
+ compileSdk 33
31
30
32
31
sourceSets {
33
32
main. java. srcDirs + = ' src/main/kotlin'
34
33
}
35
34
defaultConfig {
36
- minSdkVersion 21
35
+ minSdk 24
37
36
testInstrumentationRunner " androidx.test.runner.AndroidJUnitRunner"
38
37
consumerProguardFiles ' consumer-proguard-rules.pro'
39
38
}
@@ -43,7 +42,7 @@ android {
43
42
}
44
43
45
44
dependencies {
46
- implementation(' com.linecorp.linesdk:linesdk:5.8 .1' ) {
45
+ implementation(' com.linecorp.linesdk:linesdk:5.9 .1' ) {
47
46
exclude group : ' androidx.lifecycle' , module : ' lifecycle-viewmodel-ktx'
48
47
}
49
48
implementation ' com.google.code.gson:gson:2.8.5'
Original file line number Diff line number Diff line change @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
3
3
distributionPath =wrapper/dists
4
4
zipStoreBase =GRADLE_USER_HOME
5
5
zipStorePath =wrapper/dists
6
- distributionUrl =https\://services.gradle.org/distributions/gradle-7.2-all .zip
6
+ distributionUrl =https\://services.gradle.org/distributions/gradle-7.6-bin .zip
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ apply plugin: 'kotlin-android'
26
26
apply from : " $flutterRoot /packages/flutter_tools/gradle/flutter.gradle"
27
27
28
28
android {
29
- compileSdkVersion 31
29
+ compileSdk 33
30
30
31
31
sourceSets {
32
32
main. java. srcDirs + = ' src/main/kotlin'
@@ -38,8 +38,8 @@ android {
38
38
39
39
defaultConfig {
40
40
applicationId " com.linecorp.linesdk.sample"
41
- minSdkVersion 24
42
- targetSdkVersion 31
41
+ minSdk 24
42
+ targetSdk 31
43
43
versionCode flutterVersionCode. toInteger()
44
44
versionName flutterVersionName
45
45
testInstrumentationRunner " androidx.test.runner.AndroidJUnitRunner"
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ buildscript {
6
6
}
7
7
8
8
dependencies {
9
- classpath ' com.android.tools.build:gradle:7.0 .1'
9
+ classpath ' com.android.tools.build:gradle:7.3 .1'
10
10
classpath " org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version "
11
11
}
12
12
}
Original file line number Diff line number Diff line change @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
3
3
distributionPath =wrapper/dists
4
4
zipStoreBase =GRADLE_USER_HOME
5
5
zipStorePath =wrapper/dists
6
- distributionUrl =https\://services.gradle.org/distributions/gradle-7.2-all .zip
6
+ distributionUrl =https\://services.gradle.org/distributions/gradle-7.6-bin .zip
You can’t perform that action at this time.
0 commit comments