1 /* 2 * Copyright (c) Meta Platforms, Inc. and affiliates. 3 * All rights reserved. 4 * 5 * This source code is licensed under the BSD-style license found in the 6 * LICENSE file in the root directory of this source tree. 7 */ 8 <lambda>null9plugins { id("com.android.application") } 10 <lambda>null11android { 12 namespace = "org.pytorch.minibench" 13 compileSdk = 34 14 15 defaultConfig { 16 applicationId = "org.pytorch.minibench" 17 minSdk = 28 18 targetSdk = 33 19 versionCode = 1 20 versionName = "1.0" 21 22 testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" 23 } 24 25 buildTypes { 26 release { 27 isMinifyEnabled = false 28 proguardFiles(getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro") 29 } 30 } 31 compileOptions { 32 sourceCompatibility = JavaVersion.VERSION_1_8 33 targetCompatibility = JavaVersion.VERSION_1_8 34 } 35 } 36 <lambda>null37dependencies { 38 implementation(files("libs/executorch.aar")) 39 implementation("com.facebook.soloader:soloader:0.10.5") 40 implementation("com.facebook.fbjni:fbjni:0.5.1") 41 implementation("com.google.code.gson:gson:2.8.6") 42 testImplementation("junit:junit:4.13.2") 43 androidTestImplementation("androidx.test.ext:junit:1.2.1") 44 androidTestImplementation("androidx.test.espresso:espresso-core:3.6.1") 45 } 46