-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Android Gradle Plugin now takes care of it. WARNING: DSL element 'dexOptions' is obsolete and should be removed. It will be removed in version 8.0 of the Android Gradle plugin. Using it has no effect, and the AndroidGradle plugin optimizes dexing automatically.
- Loading branch information
Showing
6 changed files
with
9 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,27 +11,27 @@ jobs: | |
FABRIC_API_KEY: ${{ secrets.FABRIC_API_KEY }} | ||
FABRIC_API_SECRET: ${{ secrets.FABRIC_API_SECRET }} | ||
with: | ||
args: "sdkmanager 'platforms;android-26' && ./gradlew assembleDebug -PpreDexEnable=false" | ||
args: "sdkmanager 'platforms;android-26' && ./gradlew assembleDebug" | ||
- name: Check | ||
uses: vgaidarji/[email protected] | ||
env: | ||
FABRIC_API_KEY: ${{ secrets.FABRIC_API_KEY }} | ||
FABRIC_API_SECRET: ${{ secrets.FABRIC_API_SECRET }} | ||
with: | ||
args: "./gradlew testDebug jacocoTestReport checkstyle pmd jdepend lintDebug buildDashboard -PpreDexEnable=false" | ||
args: "./gradlew testDebug jacocoTestReport checkstyle pmd jdepend lintDebug buildDashboard" | ||
- name: Distribute | ||
uses: vgaidarji/[email protected] | ||
env: | ||
FABRIC_API_KEY: ${{ secrets.FABRIC_API_KEY }} | ||
FABRIC_API_SECRET: ${{ secrets.FABRIC_API_SECRET }} | ||
with: | ||
args: "./gradlew crashlyticsUploadDistributionDebug -PpreDexEnable=false" | ||
args: "./gradlew crashlyticsUploadDistributionDebug" | ||
- name: Publish Code Coverage | ||
uses: vgaidarji/[email protected] | ||
env: | ||
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }} | ||
with: | ||
args: "./gradlew coveralls -PpreDexEnable=false" | ||
args: "./gradlew coveralls" | ||
androidTest: | ||
runs-on: macOS-latest | ||
steps: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,7 +17,7 @@ GitHub provides [basic documentation](https://developer.github.com/actions) on h | |
See these projects' `README` and `Dockerfile` files for configuration details. | ||
|
||
Use `vgaidarji/android-github-actions/[email protected]` for regular build steps and provide commands via action `args` parameter. | ||
For example: `args = "./gradlew assembleDebug -PpreDexEnable=false"`. This will be passed to `entrypoint.sh` of the appropriate GitHub Action and executed in root folder of the workspace. | ||
For example: `args = "./gradlew assembleDebug"`. This will be passed to `entrypoint.sh` of the appropriate GitHub Action and executed in root folder of the workspace. | ||
|
||
Use `vgaidarji/android-github-actions/[email protected]` for running UI tests on Android Emulator. | ||
By default, this action will execute [ui-test-on-emulator](https://github.com/vgaidarji/android-github-actions/blob/0381c333953e22b4b95d4ef843effefb35c67fdf/emulator/Dockerfile#L18) script (see [script sources](https://github.com/vgaidarji/docker-android/blob/570d8f3aacd6af72b817254d08c99cd5bae57636/docker-android-emulator/ui-tests-on-emulator.sh)). | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters