Skip to content

Commit

Permalink
Merge pull request #149 from p2panda/bump-java-version
Browse files Browse the repository at this point in the history
Bump Java version to `VERSION_17` in gradle build file
  • Loading branch information
sandreae authored Jun 13, 2024
2 parents e19b8a4 + 0a71896 commit 53162ec
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- uses: actions/setup-java@v4
with:
distribution: "temurin" # AdoptOpenJDK is now Eclipse Temurin
java-version: "11"
java-version: "17"
- uses: kuhnroyal/flutter-fvm-config-action@v2
id: fvm-config-action
- name: Using Flutter ${{ steps.fvm-config-action.outputs.FLUTTER_VERSION }}
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ providing all p2panda functionality via FFI bindings.
> ⚠️ The _exact_ NDK version _is required_.
* [Rust](https://www.rust-lang.org/tools/install) `1.74.0`
* [Java](https://dev.java/) `17`
* [Android SDK](https://developer.android.com/tools) `34.0.0`
* [Android NDK](https://developer.android.com/ndk/) `25.2.9519653`
* [Flutter SDK](https://docs.flutter.dev/get-started/install) `3.22.0` and Dart SDK `3.4.0`
Expand Down
4 changes: 2 additions & 2 deletions packages/app/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ android {
ndkVersion "25.2.9519653"

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

kotlinOptions {
Expand Down

0 comments on commit 53162ec

Please sign in to comment.