tree: 54c978b485034fcfff9d9ad5c3f4df2abcbfe34c [path history] [tgz]
  1. gradle/
  2. license/
  3. sdk/
  4. .gitignore
  5. build.gradle
  6. codeStyleSettings.xml
  7. gradle.properties
  8. gradlew
  9. gradlew.bat
  10. jacoco.gradle
  11. README.md
  12. settings.gradle
android/README.md

Build from source

Install gradlew

See https://gradle.org/install#with-a-package-manager

Build Weex

run gradle build
Playground app artifact will be under ‘playground/build’

The submodule weex-playground

Weex Playground can be used to test and preview weex pages on Android and it has been added as a submodule.

Relationship between weex and playground

  • The playground submodule will be cloned and updated automatically when developers clone the ‘incubator-weex’ repo and build it.In this case, playground project will implement the source code of weex-sdk.
  • When developer directly clone the ‘weex-playground’ repo and run it separately, the playground project will implement a corresponding aar version of weex-sdk.

When to publish SNAPSHOT

When some commits of playground rely on unpublished features of weex-sdk,a SNAPSHOT of weex-sdk will be needed to support it.

How to publish SNAPSHOT

cd android
./gradlew clean install ArtifactoryPublish -PweexVersion=$PUBLISH_VERSION -PbintrayUser=alibabaweex -PbintrayApiKey=$JCENTER_TOKEN