Skip to content

Commit 73ae787

Browse files
committed
chore: support ui-mobile-base as sources
1 parent 5729298 commit 73ae787

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

packages/image/platforms/android/include.gradle

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,15 @@ dependencies {
2828
// exclude group: 'com.facebook.soloader', module: 'soloader'
2929
// }
3030

31-
// if ui-mobile-base is provided as source the name is nativescript.aar
32-
if (file("$widgetsDir/nativescript.aar").exists()) {
33-
implementation(name:'nativescript', ext:'aar')
34-
}
35-
// if ui-mobile-base is provided as aar the name is widget-release.aar
36-
if (file("$widgetsDir/widget-release.aar").exists()) {
37-
implementation(name:'widget-release', ext:'aar')
31+
if (project.hasProperty("tempBuild")) {
32+
// if ui-mobile-base is provided as source the name is nativescript.aar
33+
if (file("$widgetsDir/nativescript.aar").exists()) {
34+
implementation(name:'nativescript', ext:'aar')
35+
}
36+
// if ui-mobile-base is provided as aar the name is widget-release.aar
37+
if (file("$widgetsDir/widget-release.aar").exists()) {
38+
implementation(name:'widget-release', ext:'aar')
39+
}
3840
}
3941
}
4042

0 commit comments

Comments
 (0)