File tree Expand file tree Collapse file tree 3 files changed +15
-1
lines changed
examples/demo-apps/android/LlamaDemo Expand file tree Collapse file tree 3 files changed +15
-1
lines changed Original file line number Diff line number Diff line change @@ -55,8 +55,10 @@ dependencies {
55
55
implementation(" androidx.appcompat:appcompat:1.6.1" )
56
56
implementation(" androidx.camera:camera-core:1.3.0-rc02" )
57
57
implementation(" androidx.constraintlayout:constraintlayout:2.2.0-alpha12" )
58
- implementation(" com.facebook.soloader:soloader:0.10.5" )
59
58
implementation(" com.facebook.fbjni:fbjni:0.5.1" )
59
+ implementation(" org.pytorch.executorch:executorch" ) {
60
+ exclude(" com.facebook.fbjni" , " fbjni-java-only" )
61
+ }
60
62
testImplementation(" junit:junit:4.13.2" )
61
63
androidTestImplementation(" androidx.test.ext:junit:1.1.5" )
62
64
androidTestImplementation(" androidx.test.espresso:espresso-core:3.5.1" )
Original file line number Diff line number Diff line change @@ -25,3 +25,5 @@ dependencyResolutionManagement {
25
25
rootProject.name = " ExecuTorch Demo"
26
26
27
27
include(" :app" )
28
+
29
+ includeBuild(" ../../../../extension/android" )
Original file line number Diff line number Diff line change
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
+
1
9
plugins {
2
10
id ' java-library'
3
11
}
4
12
13
+ group ' org.pytorch.executorch'
14
+
5
15
repositories {
6
16
mavenCentral()
7
17
}
You can’t perform that action at this time.
0 commit comments