Installed latest version of google maps (with npm install @capacitor/google-maps@next) so i can run it on Capacitor 6, but im unable to compile for android, i always get the error:
Could not determine the dependencies of task ':capacitor-google-maps:compileDebugKotlin'.
Unknown Kotlin JVM target: 21
npm run start works normally and i can use the map on web.
Expected Behavior
To compile normaly.
Code Reproduction
Just install the latest capacitor-google-maps with
npm install @capacitor/google-maps@next
Other Technical Details
java --version
java 22.0.1 2024-04-16
Java(TM) SE Runtime Environment (build 22.0.1+8-16)
Java HotSpot(TM) 64-Bit Server VM (build 22.0.1+8-16, mixed mode, sharing)
Gradle --version
------------------------------------------------------------
Gradle 8.7
------------------------------------------------------------
Build time: 2024-03-22 15:52:46 UTC
Revision: 650af14d7653aa949fce5e886e685efc9cf97c10
Kotlin: 1.9.22
Groovy: 3.0.17
Ant: Apache Ant(TM) version 1.10.13 compiled on January 4 2023
JVM: 21.0.2 (Oracle Corporation 21.0.2+13-LTS-58)
OS: Windows 11 10.0 amd64
Bug Report
Capacitor Version
Platform(s)
Android
Current Behavior
Installed latest version of google maps (with npm install @capacitor/google-maps@next) so i can run it on Capacitor 6, but im unable to compile for android, i always get the error:
Could not determine the dependencies of task ':capacitor-google-maps:compileDebugKotlin'.
npm run start works normally and i can use the map on web.
Expected Behavior
To compile normaly.
Code Reproduction
Just install the latest capacitor-google-maps with npm install @capacitor/google-maps@next
Other Technical Details
java --version
Gradle --version
variables.gradle
gradle-wrapper.properties
Thanks for your help