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

Building the project

Michał Góral edited this page Jan 8, 2016 · 4 revisions

The basic requirement for building the project is to have Android SDK installed and configured. Detailed instructions are accessible within SDK documentation.

Getting the sources

Always updated sources are available as at our GitHub and can be downloaded on your machine using git version control system

$ git clone https://github.com/robin92/tw4a

The always stable implementation is available on the master branch. Although stable it has not been released yet. Those are tagged using semantic versioning pattern. Displaying them is performed with

$ git tag -l
Building

This project uses Gradle build system to conform with the Android development standards. Additionally the projects ships with a gradle-wrapper so there is no need for you to install anything on your system. Just create a file with location of your Android SDK

echo "sdk.dir=/path/to/android/sdk" >> local.properties

and issue

./gradlew build

command. All dependencies will be downloaded and the build performed. You can run tests that don't require Android device with

./gradlew check

When you connect your Android device and activate ADB mode you can check if the tests are passing with

./gradlew connectedCheck

Usually both testing targets are invoked

./gradlew check connectedCheck

Gradle comes with many other targets which can be listed with

./gradlew tasks
Clone this wiki locally