Hey, while working on an upgrade to react-native 0.74.0-rc.2 I have build errors related to use of deprecated Gradle features.
Confirmed on fresh react native app with rn-0.74.0-rc.2
Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.
/App/node_modules/@expensify/react-native-live-markdown/android/src/main/java/com/expensify/livemarkdown/MarkdownUtils.java:14: error: cannot find symbol
import com.facebook.react.views.text.CustomLineHeightSpan;
^
symbol: class CustomLineHeightSpan
location: package com.facebook.react.views.text
/App/node_modules/@expensify/react-native-live-markdown/android/src/main/java/com/expensify/livemarkdown/MarkdownUtils.java:144: error: cannot find symbol
CustomLineHeightSpan[] spans = ssb.getSpans(0, ssb.length(), CustomLineHeightSpan.class);
^
symbol: class CustomLineHeightSpan
location: class MarkdownUtils
/App/node_modules/@expensify/react-native-live-markdown/android/src/main/java/com/expensify/livemarkdown/MarkdownUtils.java:144: error: cannot find symbol
CustomLineHeightSpan[] spans = ssb.getSpans(0, ssb.length(), CustomLineHeightSpan.class);
^
symbol: class CustomLineHeightSpan
location: class MarkdownUtils
Note: /App/node_modules/@expensify/react-native-live-markdown/android/src/main/java/com/expensify/livemarkdown/MarkdownFontFamilySpan.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
3 errors
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':expensify_react-native-live-markdown:compileDebugJavaWithJavac'.
Hey, while working on an upgrade to react-native 0.74.0-rc.2 I have build errors related to use of deprecated Gradle features.
Confirmed on fresh react native app with rn-0.74.0-rc.2
Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.