Dummy Android App
| app | 5 years ago | ||
| fastlane | 5 years ago | ||
| gradle/ wrapper | 5 years ago | ||
| lazyDir | 5 years ago | ||
| .gitignore | 5 years ago | ||
| Gemfile | 6 years ago | ||
| Gemfile.lock | 6 years ago | ||
| Jenkinsfile | 5 years ago | ||
| README.md | 5 years ago | ||
| build.gradle | 5 years ago | ||
| docker-compose.yml | 5 years ago | ||
| gradle.properties | 5 years ago | ||
| gradlew | 7 years ago | ||
| gradlew.bat | 7 years ago | ||
| settings.gradle | 9 years ago | ||
| versions.gradle | 5 years ago | ||
This project relies on Docker to allow development using the same environment as the CI server (Jenkins).
By default, Android SDK is expected under ~/android/sdk. It is possible to adapt this path in local.properties (not to be committed).
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:
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
The project is designed to be build from a Jenkins server, which will provide the above requirements.
Like all projects using lazyLib, each build can be altered with LAZY_ENV parameter.