Skip to content

Commit f9afab0

Browse files
author
godwin
committed
Fix something big
1 parent eaa6a87 commit f9afab0

File tree

3 files changed

+11
-8
lines changed

3 files changed

+11
-8
lines changed

android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ apply plugin: 'com.android.library'
2525
apply plugin: 'kotlin-android'
2626

2727
android {
28-
compileSdkVersion 32
28+
compileSdkVersion 34
2929

3030
sourceSets {
3131
main.java.srcDirs += 'src/main/kotlin'

example/android/app/build.gradle

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
plugins {
2+
id 'com.android.application'
3+
id 'kotlin-android'
4+
}
5+
16
def localProperties = new Properties()
27
def localPropertiesFile = rootProject.file('local.properties')
38
if (localPropertiesFile.exists()) {
@@ -11,12 +16,10 @@ if (flutterRoot == null) {
1116
throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.")
1217
}
1318

14-
apply plugin: 'com.android.application'
15-
apply plugin: 'kotlin-android'
1619
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
1720

1821
android {
19-
compileSdkVersion 32
22+
compileSdkVersion 34
2023

2124
sourceSets {
2225
main.java.srcDirs += 'src/main/kotlin'
@@ -28,8 +31,8 @@ android {
2831

2932
defaultConfig {
3033
applicationId "co.paystack.flutterpaystack"
31-
minSdkVersion 16
32-
targetSdkVersion 32
34+
minSdkVersion flutter.minSdkVersion
35+
targetSdkVersion 34
3336
versionCode 1
3437
versionName "1.0"
3538
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
@@ -44,4 +47,4 @@ android {
4447

4548
flutter {
4649
source '../..'
47-
}
50+
}

example/android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,6 @@ subprojects {
2626
project.evaluationDependsOn(':app')
2727
}
2828

29-
task clean(type: Delete) {
29+
tasks.register("clean", Delete) {
3030
delete rootProject.buildDir
3131
}

0 commit comments

Comments
 (0)