File tree 3 files changed +11
-8
lines changed
3 files changed +11
-8
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ apply plugin: 'com.android.library'
25
25
apply plugin : ' kotlin-android'
26
26
27
27
android {
28
- compileSdkVersion 32
28
+ compileSdkVersion 34
29
29
30
30
sourceSets {
31
31
main. java. srcDirs + = ' src/main/kotlin'
Original file line number Diff line number Diff line change
1
+ plugins {
2
+ id ' com.android.application'
3
+ id ' kotlin-android'
4
+ }
5
+
1
6
def localProperties = new Properties ()
2
7
def localPropertiesFile = rootProject. file(' local.properties' )
3
8
if (localPropertiesFile. exists()) {
@@ -11,12 +16,10 @@ if (flutterRoot == null) {
11
16
throw new GradleException (" Flutter SDK not found. Define location with flutter.sdk in the local.properties file." )
12
17
}
13
18
14
- apply plugin : ' com.android.application'
15
- apply plugin : ' kotlin-android'
16
19
apply from : " $flutterRoot /packages/flutter_tools/gradle/flutter.gradle"
17
20
18
21
android {
19
- compileSdkVersion 32
22
+ compileSdkVersion 34
20
23
21
24
sourceSets {
22
25
main. java. srcDirs + = ' src/main/kotlin'
@@ -28,8 +31,8 @@ android {
28
31
29
32
defaultConfig {
30
33
applicationId " co.paystack.flutterpaystack"
31
- minSdkVersion 16
32
- targetSdkVersion 32
34
+ minSdkVersion flutter . minSdkVersion
35
+ targetSdkVersion 34
33
36
versionCode 1
34
37
versionName " 1.0"
35
38
testInstrumentationRunner " androidx.test.runner.AndroidJUnitRunner"
@@ -44,4 +47,4 @@ android {
44
47
45
48
flutter {
46
49
source ' ../..'
47
- }
50
+ }
Original file line number Diff line number Diff line change @@ -26,6 +26,6 @@ subprojects {
26
26
project. evaluationDependsOn(' :app' )
27
27
}
28
28
29
- task clean ( type : Delete ) {
29
+ tasks . register( " clean " , Delete ) {
30
30
delete rootProject. buildDir
31
31
}
You can’t perform that action at this time.
0 commit comments