Dummy Android App

@Benoit Donneaux Benoit Donneaux authored on 24 Sep 2020
app Update version to 0.0.6-90 5 years ago
fastlane Provide changelogs for version 89 5 years ago
gradle/ wrapper Update SDK and Gradle to match Dappre project 5 years ago
lazyDir [DP-691] Remove useless Docker steps to use same image as DappreAnd 5 years ago
.gitignore [DP-590] Avoid fork and tune memory limit 5 years ago
Gemfile [DP-590] Move Gemfiles in lazyDir for Docker 6 years ago
Gemfile.lock [DP-590] Move Gemfiles in lazyDir for Docker 6 years ago
Jenkinsfile [DP-691] Backport test scope from DappreAnd 5 years ago
README.md [DP-691] Change docker-compose label to match all other projects 5 years ago
build.gradle Add some lines from Dappre Android 5 years ago
docker-compose.yml [DP-691] Change docker-compose label to match all other projects 5 years ago
gradle.properties Use the same Project-level gradle.properties as for Dappre Android. 5 years ago
gradlew [DP-118] Update Gradle wrapper and switch to bin only 7 years ago
gradlew.bat [DP-118] Update Gradle wrapper and switch to bin only 7 years ago
settings.gradle [DAP-516] Innital commit of the root repo to define ignore prop right after 9 years ago
versions.gradle Update SDK and Gradle to match Dappre project 5 years ago
README.md

Dummy Android

Docker

This project relies on Docker to allow development using the same environment as the CI server (Jenkins).

Requirements

  • Android SDK
  • Docker (18.09.1+)
  • Docker Composer (1.21.0+)

Configuration

By default, Android SDK is expected under ~/android/sdk. It is possible to adapt this path in local.properties (not to be committed).

Setup

If the current user id and group id are not 1000, it is required to define them using environment variables:

export _UID="$(id -u)"
export _GID="$(id -g)"

Build the container image:

docker-compose --compatibility build $OS_LABEL

Where OS_LABEL can take any supported value:

  • centos7

Usage

The following command should start a shell session inside the container:

docker-compose --compatibility run --rm $OS_LABEL

From there, Gradle and Fastlane should work as expected:

./gradlew tasks
fastlane lanes

Most importantly, Fastlane or the whole bundle can be updated:

bundle update fastlane
bundle update

Jenkins

The project is designed to be build from a Jenkins server, which will provide the above requirements.

Dependencies

Usage

Like all projects using lazyLib, each build can be altered with LAZY_ENV parameter.