Skip to content

Commit

Permalink
Fix robolectric warning
Browse files Browse the repository at this point in the history
  • Loading branch information
burhanrashid52 committed Mar 13, 2021
1 parent 7627688 commit 08f3308
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 9 deletions.
19 changes: 11 additions & 8 deletions .github/workflows/bintray_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,16 @@ jobs:
# The type of runner that the job will run on
runs-on: ubuntu-latest

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
- uses: actions/checkout@v1
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
ref: release

# Upload AAR to bintray
- name: Upload AAR
run: bash ./gradlew clean build install bintrayUpload -PbintrayUser=${{ secrets.BINTRAY_USER }} -PbintrayApiKey=${{ secrets.BINTRAY_API_KEY }}
java-version: 1.8
- name: Grant Permission to Execute
run: chmod +x gradlew
- name: Publish Library
env:
bintrayUser: ${{ secrets.BINTRAY_USER }}
bintrayApiKey: ${{ secrets.BINTRAY_API_KEY }}
run: ./gradlew clean build install bintrayUpload -PbintrayUser=${{ secrets.BINTRAY_USER }} -PbintrayApiKey=${{ secrets.BINTRAY_API_KEY }}
2 changes: 1 addition & 1 deletion photoeditor/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ dependencies {

testImplementation 'junit:junit:4.12'
testImplementation 'org.mockito:mockito-core:2.23.0'
testImplementation 'org.robolectric:robolectric:4.3'
testImplementation 'org.robolectric:robolectric:4.5.1'
}

// Place it at the end of the file
Expand Down

0 comments on commit 08f3308

Please sign in to comment.