Skip to content

Commit b4992c7

Browse files
authored
Update AAR file checks in include.gradle
1 parent 83403c5 commit b4992c7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

packages/image/platforms/android/include.gradle

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,12 @@ dependencies {
3434

3535
// if ui-mobile-base is provided as source the name is nativescript.aar
3636
//else use widget-release.aar
37-
if (file("$widgetsDir/nativescript.aar").exists()) {
37+
if (file("$widgetsDir/widgets-release.aar").exists()) {
38+
implementation(name:'widgets-release', ext:'aar')
39+
} else {
3840
implementation(name:'nativescript', ext:'aar')
3941
}
40-
if (file("$widgetsDir/widget-release.aar").exists()) {
41-
implementation(name:'widget-release', ext:'aar')
42-
}
42+
}
4343
}
4444
}
4545

0 commit comments

Comments
 (0)