onnxruntime icon indicating copy to clipboard operation
onnxruntime copied to clipboard

Update gradle version to 8.7

Open jchen351 opened this issue 1 year ago • 1 comments

Description

Update the gradle version from andriod projects to 8.7

And Android gradle build tool to version 7.4.2 across all of the ORT project.

Motivation and Context

Current versions of gradle are inconsistent and outdated to support newer version of plugins such as react-native. Inconsistent versioning makes upgrading a lot more challenging.

Current issue

  • [x] Android gradle build tool to version 7.4.2 requires JDK 17
  • [x] Increase memory from -Xmx4096M to -Xmx6144M
  • [x] Application crashed during Run React Native Detox Android e2e Tests child-process:SPAWN_STDOUT INSTRUMENTATION_RESULT: shortMsg=Process crashed.
  • [x] Need to update too Android SDK target to 33
  • [x] Android SDK target 33 needs <uses-permission android:name="android.permission.POST_NOTIFICATIONS"/>
  • [x] Need to force kotlin version to 1.8.10
  • [x] Update FLIPPER_VERSION=0.99.0
  • [ ] issue with FlatDir that make the latest.integration does work on "com.microsoft.onnxruntime:onnxruntime-android:latest.integration@aar" anymore
  • [ ] org.xml.sax.SAXNotRecognizedException: Property 'http://javax.xml.xmlconstants/property/accessExternalSchema' is not recognized. Resolution link This is an issue with OpenJDK

AB#50089

jchen351 avatar Sep 24 '24 19:09 jchen351

All changes from Changes from gradlew and gradlew.bat are generated by ./gradlew wrapper --gradle-version=8.10.2 --distribution-type=bin

jchen351 avatar Sep 24 '24 20:09 jchen351