I'm trying to build this library with an SDK 50 app but it keeps failing with this error:
[RUN_GRADLEW] FAILURE: Build failed with an exception.
[RUN_GRADLEW] * What went wrong:
[RUN_GRADLEW] Execution failed for task ':expo-user-identity:compileDebugKotlin'.
[RUN_GRADLEW] > 'compileDebugJavaWithJavac' task (current target is 17) and 'compileDebugKotlin' task (current target is 11) jvm target compatibility should be set to the same Java version.
[RUN_GRADLEW] Consider using JVM toolchain: https://kotl.in/gradle/jvm/toolchain
[RUN_GRADLEW] * Try:
[RUN_GRADLEW] > Run with --stacktrace option to get the stack trace.
[RUN_GRADLEW] > Run with --info or --debug option to get more log output.
[RUN_GRADLEW] > Run with --scan to get full insights.
[RUN_GRADLEW] > Get more help at https://help.gradle.org.
[RUN_GRADLEW] BUILD FAILED in 1m 7s
npx eas build -p android -e development --local
I'm assuming this is because SDK50 requires Java 17 now, but I've tried changing the module's build.gradle accordingly but it's still not building. Not sure why.