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

Commit

Permalink
Fix task dependency problem
Browse files Browse the repository at this point in the history
  • Loading branch information
YorkShen committed Oct 12, 2019
1 parent d28d92c commit 5b05fd3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion android/sdk/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ apply from: 'buildSrc/asan.gradle'
apply from: 'buildSrc/jcenter.gradle'
apply from: 'buildSrc/unstripped.gradle'
apply from: 'buildSrc/checkStyle.gradle'
apply from: 'buildSrc/packageName.gradle'
apply from: 'buildSrc/download_jsc.gradle'
apply from: 'buildSrc/packageName.gradle'

version = project.hasProperty('weexVersion') ? project.getProperty('weexVersion') : '0.26.0.1'

Expand Down
3 changes: 2 additions & 1 deletion android/sdk/buildSrc/packageName.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@ task copyOtherCppFile(type: Copy){
}
}

task copyAndRenameCppSourceFile(type: Copy, dependsOn: copyOtherCppFile){
task copyAndRenameCppSourceFile(type: Copy){
dependsOn copyOtherCppFile, copyJSCHeaderToWeexCore
if(!project.useApachePackageName) {
inputs.dir new File('../../weex_core')
from new File('../../weex_core')
Expand Down

0 comments on commit 5b05fd3

Please sign in to comment.