microsoft/onnxruntime-extensions

Public

mirrored from https://github.com/microsoft/onnxruntime-extensionsAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
rel-0.10.1

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

java/src/test/android/app/build.gradle

48lines · modeblame

187411d5Wenbing Li3 years ago1plugins {
2id 'com.android.application'
3}
4
5android {
6namespace 'ai.onnxruntime.extensions.apptest'
7compileSdk 32
8
9defaultConfig {
10applicationId "ai.onnxruntime.extensions.apptest"
11minSdk 24
12targetSdk 32
13versionCode 1
14versionName "1.0"
15
16testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
17}
18
19buildTypes {
20release {
21minifyEnabled false
22proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
23}
24}
25compileOptions {
26sourceCompatibility JavaVersion.VERSION_1_8
27targetCompatibility JavaVersion.VERSION_1_8
28}
29}
30
63fe165eEdward Chen3 years ago31def ortExtensionsAarLocalPath = System.properties["ortExtensionsAarLocalPath"];
32
187411d5Wenbing Li3 years ago33dependencies {
34
35implementation 'androidx.appcompat:appcompat:1.5.1'
36implementation 'com.google.android.material:material:1.7.0'
37implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
63fe165eEdward Chen3 years ago38implementation 'com.microsoft.onnxruntime:onnxruntime-android:latest.release'
39if (ortExtensionsAarLocalPath != null) {
40implementation files(ortExtensionsAarLocalPath)
41} else {
42implementation 'com.microsoft.onnxruntime:onnxruntime-extensions-android:latest.release'
43}
187411d5Wenbing Li3 years ago44androidTestImplementation 'androidx.test.ext:junit:1.1.3'
45androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
7b7e2a75Rachel Guo3 years ago46
47androidTestImplementation('com.microsoft.appcenter:espresso-test-extension:1.4')
187411d5Wenbing Li3 years ago48}