Skip to content

Commit

Permalink
Test run
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert-SD committed Oct 15, 2024
1 parent b95aa2e commit 86263d7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 12 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/android_clean_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,11 @@ jobs:
#Change Kotlin version and gradle wrapper for Flutter 3.16
sed -i "s/ext.kotlin_version = '1.7.10'/ext.kotlin_version = '1.8.22'/g" android/build.gradle
sed -i "s/gradle-7.5-all/gradle-8.3-all/g" android/gradle/wrapper/gradle-wrapper.properties
sed -i "s/gradle-7.5-all/gradle-8.2-all/g" android/gradle/wrapper/gradle-wrapper.properties
#Change Kotlin version and gradle wrapper for Flutter 3.19+
sed -i 's/"org.jetbrains.kotlin.android" version "1.7.10"/"org.jetbrains.kotlin.android" version "1.8.22"/g' android/settings.gradle
sed -i "s/gradle-7.6.3-all/gradle-8.3-all/g" android/gradle/wrapper/gradle-wrapper.properties
sed -i "s/gradle-7.6.3-all/gradle-8.2-all/g" android/gradle/wrapper/gradle-wrapper.properties
#Change minSdk and compileSdk version
sed -i 's/flutter.compileSdkVersion/34/g' android/app/build.gradle
Expand Down
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,9 @@ Required versions:

* [Checkout API v71](https://docs.adyen.com/api-explorer/Checkout/71/overview) or later.
* [iOS 12](https://support.apple.com/en-us/118387) or later.
* [Android 5.0](https://www.android.com/versions/lollipop-5-0/) or later with compileSdk set to 34.
Google will
change [target API level requirements](https://support.google.com/googleplay/android-developer/answer/11926878?hl=en)
for Google Play apps starting August 31 2024.
* [Android 5.0](https://www.android.com/versions/lollipop-5-0/) or later.
* [Kotlin 1.8](https://kotlinlang.org/docs/releases.html) or later.
* [Gradle 8](https://developer.android.com/build/releases/gradle-plugin).

## Integration

Expand Down
7 changes: 1 addition & 6 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,7 @@ android {
}

dependencies {
implementation('com.adyen.checkout:drop-in:5.7.0') {
//Excluding the latest androidx lifecycle livedata core version because it is not compatible with AGP 7.
//This would break the default Flutter Gradle compatibility. More information: https://issuetracker.google.com/issues/336164417
exclude group: 'androidx.lifecycle', module: 'lifecycle-runtime-ktx'
exclude group: 'androidx.lifecycle', module: 'lifecycle-viewmodel-ktx'
}
implementation('com.adyen.checkout:drop-in:5.7.0')

implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.7.0'
implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.7.0'
Expand Down

0 comments on commit 86263d7

Please sign in to comment.