Skip to content

Commit

Permalink
Add change to gradle 8
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert-SD committed Oct 15, 2024
1 parent 9f3fced commit 8b5a97c
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/android_clean_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,10 @@ jobs:
- run: |
flutter create --template=app --platforms=android,ios demo_project
cd demo_project
cat android/build.gradle
cat android/settings.gradle
#Change Kotlin and Gradle version for Flutter 3.16
#Change Kotlin version for Flutter 3.16
sed -i "s/ext.kotlin_version = '1.7.10'/ext.kotlin_version = '1.8.10'/g" android/build.gradle
sed -i 's/id "com.android.application" version "7.3.0"/id "com.android.application" version "8.1.4"/g' android/build.gradle
#Change Kotlin version for Flutter 3.19+
sed -i 's/"org.jetbrains.kotlin.android" version "1.7.10"/"org.jetbrains.kotlin.android" version "1.8.10"/g' android/settings.gradle
Expand All @@ -58,6 +56,10 @@ jobs:
sed -i 's/flutter.compileSdkVersion/34/g' android/app/build.gradle
sed -i 's/flutter.minSdkVersion/21/g' android/app/build.gradle
#Change to Gradle 8
sed -i 's/id "com.android.application" version "7.3.0"/id "com.android.application" version "8.1.4"/g' android/settings.gradle
cat android/settings.gradle
dart pub add 'adyen_checkout:{"path":"../"}'
flutter build apk --debug
Expand Down

0 comments on commit 8b5a97c

Please sign in to comment.