microsoft/onnxruntime-extensions
Publicmirrored fromhttps://github.com/microsoft/onnxruntime-extensionsAvailable
java/src/test/android/app/build.gradle
41lines · modecode
| 1 | plugins { |
| 2 | id 'com.android.application' |
| 3 | } |
| 4 | |
| 5 | android { |
| 6 | namespace 'ai.onnxruntime.extensions.apptest' |
| 7 | compileSdk 32 |
| 8 | |
| 9 | defaultConfig { |
| 10 | applicationId "ai.onnxruntime.extensions.apptest" |
| 11 | minSdk 24 |
| 12 | targetSdk 32 |
| 13 | versionCode 1 |
| 14 | versionName "1.0" |
| 15 | |
| 16 | testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" |
| 17 | } |
| 18 | |
| 19 | buildTypes { |
| 20 | release { |
| 21 | minifyEnabled false |
| 22 | proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' |
| 23 | } |
| 24 | } |
| 25 | compileOptions { |
| 26 | sourceCompatibility JavaVersion.VERSION_1_8 |
| 27 | targetCompatibility JavaVersion.VERSION_1_8 |
| 28 | } |
| 29 | } |
| 30 | |
| 31 | dependencies { |
| 32 | |
| 33 | implementation 'androidx.appcompat:appcompat:1.5.1' |
| 34 | implementation 'com.google.android.material:material:1.7.0' |
| 35 | implementation 'androidx.constraintlayout:constraintlayout:2.1.4' |
| 36 | implementation 'com.microsoft.onnxruntime:onnxruntime-android:1.12.1' |
| 37 | // implementation(name: 'onnxruntime-extensions-debug', ext: 'aar') |
| 38 | implementation files('libs/onnxruntime-extensions-debug.aar') |
| 39 | androidTestImplementation 'androidx.test.ext:junit:1.1.3' |
| 40 | androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0' |
| 41 | } |