This project is intended to be the base of the Android project.
- GitHub Action
- Build
- Debug Build
- Release Build
- Lint
- Test
- UnitTest
- Instrumented Unit Tests
- Dependencies Update Check
- Build
- GitLab CI
- Build
- Debug Build
- Release Build
- Lint
- Test
- UnitTest
- Instrumented Unit Tests
- Dependencies Update Check
- Build
The following four Build Types are set.
We assume that you can switch between them depending on the optimization level, signature, and server settings.
This Build Type is primarily intended for use during development.
- Minify : Disable
- Signature : Debug Key
This is basically the same as Debug Build, but it is a Build Type that assumes a connection to a local server.
It is mainly intended for use in Unit Test.
- Minify : Disable
- Signature : Debug Key
This build type is basically the same as the Release build, but is intended for testing in the Staging environment.
- Minify : Enable
- Signature : Release Key
This build type is primarily intended to create a release version APK.
- Minify : Enable
- Signature : Release Key
This GitLab CI uses interruptible flag to enable auto-cancel pipelines.
Therefore, please enable GitLab's auto-cancel redundant pipelines.
You must set the below environment variables to do a Release build .
This is KeyStore.jks encoded in Base64.
Please encode keystore.jks in Base64 by referring to the following command.
You should create KeyStore.jks from Android Studio or similar.
$ openssl base64 -A -in KeyStore.jks > KeyStore.jks.txt
Set the Key Store Password
that you entered when creating the KeyStore.
Never commit this value.
Set the Key Alias
that you entered when creating the KeyStore.
Set the Key Password
that you entered when creating the KeyStore.
Never commit this value.
API token for Renovate.
The token is required for automatic Updates of Dependencies by Renovate.
Please refer to the following site for the settings required to create the token.
The following values are set to default values, but you can override them from the repository settings.
This is the compile target SDK version.
Please refer to SDK Platforms
in SDK manager to set this value.
Ref : API Level
This is the version of the Android SDK Build-tools.
Please refer to Android SDK Build-tools
in SDK manager to set this value.
Ref : SDK Build Tools
This is the version of the Android command-line tools.
Please refer to the ★ portion of the following values for version values.
commandlinetools-linux-{★}_latest.zip
Ref : Command-line tools
You must set the below environment variables to do a Merge Request .
An access token for the account which will post MR comments.
Please create an account to post MR comments in advance.
Get the token with api
scope from https://gitlab.com/-/user_settings/personal_access_tokens.