NativeScript / nx

NativeScript for Nx.
Other
61 stars 15 forks source link

change gradle version in nativescript #52

Closed FoHoOV closed 2 years ago

FoHoOV commented 2 years ago

I'm confused as how to change a specific configuration somewhere to determine the version of my gradle, in a nativescript project. My workspace is created just like the docs and when I try to run the app with 'npx nx run test:android' I get this error message:

Could not compile settings file '\start\learn\apps\nativescript-test\platforms\android\settings.gradle'.

startup failed: General error during conversion: Unsupported class file major version 62

Based on my research if I need to resolve this issue I need to either update my gradle version or downgrade my JDK version. The solution I'm searching for is to how to specify my gradle version. Thanks in advance.

FoHoOV commented 2 years ago

https://stackoverflow.com/questions/72149907/how-to-change-gradle-version-in-nativescript/72216436#72216436

this is what I've found as a tmp answer to my question.