mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-15 20:50:42 +00:00
* onnxruntime react native binding * add react native backend * fix lint comments * fix react native backend for ios * remove unnecessary files to check in * move onnxruntime-common to devDependency * create two podspec files for iphoneos and iphonesimulator * revise README.md and add third party notices for react native * rename a package * rename a package and revise README * add a license into package.json * revise README and comments * fix typo * fix lint errors * fix lint errors * add a prepack script. touch index.tsx and App.tsx to resolve CI issue * remove a unsupported tsx format from clang-format * fix a type and add steps tp publish a react native npm package * resolve comments * fix clang format * remove promise wrap. change prepack to typescript
42 lines
1.1 KiB
Groovy
42 lines
1.1 KiB
Groovy
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
|
|
|
buildscript {
|
|
ext {
|
|
buildToolsVersion = "29.0.2"
|
|
minSdkVersion = 24
|
|
compileSdkVersion = 29
|
|
targetSdkVersion = 29
|
|
}
|
|
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' }
|
|
|
|
flatDir {
|
|
dir project(':onnxruntimereactnative').file('libs')
|
|
}
|
|
}
|
|
}
|