Skip to content
This repository was archived by the owner on Jun 3, 2021. It is now read-only.

Commit 15a8de3

Browse files
authored
* [Android] Fix build problem of apache release. (#1491)
1 parent ab1a91d commit 15a8de3

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

android/sdk/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,12 +85,12 @@ android {
8585
if(project.hasProperty('asfRelease')){
8686
//download so file if not exist, when compile in source release
8787
download{
88-
src 'https://git-wip-us.apache.org/repos/asf?p=incubator-weex.git;a=blob_plain;f=android/sdk/libs/armeabi/libweexcore.so;hb=refs/heads/master'
88+
src 'https://gitbox.apache.org/repos/asf?p=incubator-weex.git;a=blob_plain;f=android/sdk/libs/armeabi/libweexcore.so;hb=refs/heads/master'
8989
dest "${projectDir}/libs/armeabi/libweexcore.so"
9090
overwrite false
9191
}
9292
download{
93-
src 'https://git-wip-us.apache.org/repos/asf?p=incubator-weex.git;a=blob_plain;f=android/sdk/libs/x86/libweexcore.so;hb=refs/heads/master'
93+
src 'https://gitbox.apache.org/repos/asf?p=incubator-weex.git;a=blob_plain;f=android/sdk/libs/x86/libweexcore.so;hb=refs/heads/master'
9494
dest "${projectDir}/libs/x86/libweexcore.so"
9595
overwrite false
9696
}

scripts/build_from_source.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ cp dist/weex-polyfill.min.js pre-build/weex-polyfill.js
4141
cp dist/weex-rax.min.js pre-build/weex-rax-api.js
4242
cp dist/weex-rax.min.js android_sdk/assets/weex-rax-api.js
4343

44-
gradle wrapper --gradle-version 3.3
44+
gradle wrapper --gradle-version 4.4
4545
echo 'include ":android_sdk"'>settings.gradle
4646
./gradlew :android_sdk:assemble -PasfRelease
4747

scripts/generate_apache_release.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,3 +37,4 @@ $SED_CMD -i '' 's/\.\.\/\.\.\/pre-build/\.\.\/pre-build/g' $dest/android_sdk/bui
3737
mv $dest/android/build.gradle $dest/build.gradle
3838
rm -rf $dest/android $dest/ios
3939

40+
rm -rf $dest/android_sdk/gradle

0 commit comments

Comments
 (0)