Skip to content

Commit

Permalink
Merge pull request #1716 from cachix/fix-1701
Browse files Browse the repository at this point in the history
flutter: bump JDK version to 17
  • Loading branch information
domenkozar authored Feb 11, 2025
2 parents f9cc533 + 297e085 commit cbd856d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/modules/integrations/android.nix
Original file line number Diff line number Diff line change
Expand Up @@ -265,11 +265,14 @@ in
{ java.enable = true; }
(lib.mkIf cfg.flutter.enable {
dart.enable = true;
java.jdk.package = pkgs.jdk11;
# By default, Flutter uses the JDK version that ships Android Studio.
# Sync with https://developer.android.com/build/jdks
java.jdk.package = pkgs.jdk17;
})
(lib.mkIf cfg.reactNative.enable {
javascript.enable = true;
javascript.npm.enable = true;
# Sync with https://reactnative.dev/docs/set-up-your-environment
java.jdk.package = pkgs.jdk17;
})
];
Expand Down

0 comments on commit cbd856d

Please sign in to comment.