Skip to content

Commit

Permalink
chore: set source and target to Java 17
Browse files Browse the repository at this point in the history
  • Loading branch information
descorp committed Jul 19, 2024
1 parent 5086ecd commit 3b7770b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
[![Adyen Android](https://img.shields.io/badge/android-v5.6.0-brightgreen.svg)](https://github.com/Adyen/adyen-android/releases/tag/5.6.0)
[![Maintainability Rating](https://sonarcloud.io/api/project_badges/measure?project=Adyen_adyen-react-native&metric=sqale_rating)](https://sonarcloud.io/summary/new_code?id=Adyen_adyen-react-native)

> [!ATTENTION]
> [!NOTE]
> Google will introduce new [target API level requirements for Google Play apps](https://support.google.com/googleplay/android-developer/answer/11926878?hl=en) starting August 31 2024.
>
> For React-Native **73+** no action needed.
>
> For React-Native **before 73**:
> For React-Native **72**:
> * update Android compileTarget to 34 in `android/build.gradle`
> * set `classpath("com.android.tools.build:gradle:8.1.4")` in `android/build.gradle`
> * enable `buildConfig` in `android/app/build.gradle` by adding `android.buildFeatures.buildConfig = true`
Expand Down
4 changes: 2 additions & 2 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ android {
}

compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
}
}

Expand Down

0 comments on commit 3b7770b

Please sign in to comment.