diff --git a/.github/workflows/android_clean_build.yml b/.github/workflows/android_clean_build.yml index a18e8145..108e2e80 100644 --- a/.github/workflows/android_clean_build.yml +++ b/.github/workflows/android_clean_build.yml @@ -60,17 +60,15 @@ jobs: #Change to Android Gradle plugin to v8 sed -i 's/id "com.android.application" version "7.3.0"/id "com.android.application" version "8.1.4"/g' android/settings.gradle - #Add missing Kotlin Options for Flutter 3.22 + #Add missing Kotlin options for Flutter 3.22 if [ ${{ matrix.flutter-version }} == '3.22.x' ]; then sed -i '/defaultConfig {/i \ kotlinOptions {\ - jvmTarget = '1.8'\ + jvmTarget = 'JavaVersion.VERSION_1_8'\ }\ ' android/app/build.gradle fi - cat android/app/build.gradle - dart pub add 'adyen_checkout:{"path":"../"}' flutter build apk --debug