onnxruntime
onnxruntime copied to clipboard
Update gradle version to 8.7
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.integrationdoes 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
All changes from Changes from gradlew and gradlew.bat are generated by ./gradlew wrapper --gradle-version=8.10.2 --distribution-type=bin