Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ml-archive/ci-bitrise-gradle-plugin
Android Gradle plugin for Bitrise CI
https://github.com/ml-archive/ci-bitrise-gradle-plugin
android bitrise deployment gradle
Last synced: 23 days ago
JSON representation
Android Gradle plugin for Bitrise CI
- Host: GitHub
- URL: https://github.com/ml-archive/ci-bitrise-gradle-plugin
- Owner: ml-archive
- Archived: true
- Created: 2017-06-06T12:58:03.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-07-02T07:25:50.000Z (over 5 years ago)
- Last Synced: 2024-11-15T09:49:00.931Z (3 months ago)
- Topics: android, bitrise, deployment, gradle
- Language: Groovy
- Size: 79.1 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Bitrise CI Plugin
Android Gradle plugin for Bitrise CI## Bitrise Config
```groovi
bitrise{
defaultDeployMode="release|staging"
flavorFilter = "firstSkin"
envManEnabled = false
branchMode = true
}
```
`defaultDeployMode` Which modes should be deployed if no mode is present in the flavor (Optional)
`flavorFilter` Can specify which flavor should be deployed (Optional)
`envManEnabled` Should the plugin use EnvMan by default (default = false)
`branchMode` Should the app use Branch Mode (default = true)**Branch mode**
Branch mode allows the plugin to check which branch the app is currently being built from and apply that to the version name for example if
the branch was being built on `feature/ARandomFeature` the versionName would reflect that `1.0.0-ARANDOMFEATURE`## Android Flavor Config
```groovi
productFlavors {
firstSkin {
applicationId = "com.example.app.firstSkin"
hockeyAppId = "yourKeyShouldGoHere"
hockeyAppIdStaging = "yourKeyShouldGoHere"
deploy = "release|staging"
}
secondSkin {
applicationId = "com.example.app.secondSkin"
hockeyAppIdStaging = "yourKeyShouldGoHere"
deploy = "staging"
}
thirdSkin {
applicationId = "com.example.app.thirdSkin"
hockeyAppIdStaging = "yourKeyShouldGoHere"
hockeyAppId = "yourKeyShouldGoHere"
}
}
```
`hockeyAppId` Your Hockey App ID
`hockeyAppIdStaging` Your Hockey App Staging ID
`deploy` Specify which build should be deployed (Optional)## Example Output
Once the plugin runs the output should look something like
```
[
{
"build": "app-first.apk",
"hockeyId": "yourKeyShouldGoHere",
"appId": "com.example.app.firstSkin",
"mappingFile": "null"
},
{
"build": "app-second.apk",
"hockeyId": "yourKeyShouldGoHere",
"appId": "com.example.app.secondSkin",
"mappingFile": "null"
},
{
"build": "app-third.apk",
"hockeyId": "yourKeyShouldGoHere",
"appId": "com.example.app.thirdSkin",
"mappingFile": "null"
}
]
```