File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
examples/demo-apps/android/LlamaDemo/app Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,8 @@ plugins {
1111 id(" org.jetbrains.kotlin.android" )
1212}
1313
14- def qnnVersion = System .properties[' qnnVersion' ]
14+ val qnnVersion: String? = project.findProperty(" qnnVersion" ) as ? String
15+
1516
1617android {
1718 namespace = " com.example.executorchllamademo"
@@ -63,8 +64,8 @@ dependencies {
6364 implementation(" com.google.android.material:material:1.12.0" )
6465 implementation(" androidx.activity:activity:1.9.0" )
6566 implementation(" org.json:json:20250107" )
66- if (qnnVersion) {
67- implementation " com.qualcomm.qti:qnn-runtime:$qnnVersion "
67+ if (! qnnVersion.isNullOrEmpty() ) {
68+ implementation( " com.qualcomm.qti:qnn-runtime:$qnnVersion " )
6869 }
6970 testImplementation(" junit:junit:4.13.2" )
7071 androidTestImplementation(" androidx.test.ext:junit:1.1.5" )
You can’t perform that action at this time.
0 commit comments