Use case
I have to work with multiple java version, and flutter uses gradle 6.7 which is not comfortable with latest java versions,
Alternatively, I have to perform changes on every projects android\gradle.properties to work with
org.gradle.java.home=C:\\Program Files\\Java\\jdk1.8.0_331\\
Proposal
It will be great if we can set java home or executable with flutter config
PS C:\Users\MSI> flutter config --java-binary=<path/to/java/executable>
Setting "java-binary" value to "<path/to/java/executable>".
You may need to restart any open editors for them to read new settings.
Use case
I have to work with multiple java version, and flutter uses gradle 6.7 which is not comfortable with latest java versions,
Alternatively, I have to perform changes on every projects
android\gradle.propertiesto work withProposal
It will be great if we can set java home or executable with flutter config