diff --git a/android/build.gradle b/android/build.gradle index 4896f2c..2f903bc 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -2,7 +2,7 @@ group 'co.paystack.flutterpaystack' version '1.0-SNAPSHOT' buildscript { - ext.kotlin_version = '>=1.7.20 <2.0' + ext.kotlin_version = '1.8.0' repositories { mavenCentral() google() diff --git a/example/android/app/build.gradle b/example/android/app/build.gradle index 8963775..ca42bf8 100644 --- a/example/android/app/build.gradle +++ b/example/android/app/build.gradle @@ -2,7 +2,7 @@ plugins { id "com.android.application" id "kotlin-android" // The Flutter Gradle Plugin must be applied after the Android and Kotlin Gradle plugins. - id "dev.flutter.flutter-gradle-plugin" + //id "dev.flutter.flutter-gradle-plugin" } def localProperties = new Properties() @@ -41,7 +41,7 @@ android { } kotlinOptions { - jvmTarget = '>=1.7.20 <2.0' // Ensure this is set to 1.8 to match Java compatibility + jvmTarget = '1.8.0' // Ensure this is set to 1.8 to match Java compatibility } buildTypes { diff --git a/example/android/build.gradle b/example/android/build.gradle index 7a383f6..76f618e 100644 --- a/example/android/build.gradle +++ b/example/android/build.gradle @@ -1,5 +1,5 @@ buildscript { - ext.kotlin_version = '>=1.7.20 <2.0' + ext.kotlin_version = '1.8.0' repositories { google() jcenter()