mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-14 20:48:00 +00:00
### Description <!-- Describe your changes. --> Re-enable the react native e2e android unit test for react native CI as recent change of specifying `default` instead of `google-apis` in android emulator CI tests gives pretty stable result for now. Upgrade the targetSDKversion for gradle test project in react-native/android to meet minimum target api level requirement for Google Play apps. https://support.google.com/googleplay/android-developer/answer/11926878?hl=en ### Motivation and Context <!-- - Why is this change required? What problem does it solve? - If it fixes an open issue, please link to the issue here. --> React Native CI issue.
38 lines
1,003 B
Groovy
38 lines
1,003 B
Groovy
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
|
|
|
buildscript {
|
|
ext {
|
|
buildToolsVersion = "29.0.2"
|
|
minSdkVersion = 21
|
|
compileSdkVersion = 31
|
|
targetSdkVersion = 31
|
|
}
|
|
repositories {
|
|
google()
|
|
jcenter()
|
|
}
|
|
dependencies {
|
|
classpath('com.android.tools.build:gradle:4.1.2')
|
|
|
|
// NOTE: Do not place your application dependencies here; they belong
|
|
// in the individual module build.gradle files
|
|
}
|
|
}
|
|
|
|
allprojects {
|
|
repositories {
|
|
mavenLocal()
|
|
maven {
|
|
// All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
|
|
url("$rootDir/../node_modules/react-native/android")
|
|
}
|
|
maven {
|
|
// Android JSC is installed from npm
|
|
url("$rootDir/../node_modules/jsc-android/dist")
|
|
}
|
|
|
|
google()
|
|
jcenter()
|
|
maven { url 'https://www.jitpack.io' }
|
|
}
|
|
}
|