Miscellaneous cleanups and updates (#1302)

* build: upgrade to Gradle 6.8.1

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>

* github: remove animation commands from PR workflow

The emulator runner action handles this for us

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>

* build: upgrade LeakCanary and WhatTheStack

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
Harsh Shandilya 2021-02-04 23:11:39 +05:30 committed by GitHub
parent 0afd6551aa
commit 723acbf767
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 7 additions and 10 deletions

View file

@ -51,9 +51,6 @@ jobs:
api-level: ${{ matrix.api-level }} api-level: ${{ matrix.api-level }}
target: default target: default
script: | script: |
adb shell settings put global animator_duration_scale 0
adb shell settings put global transition_animation_scale 0
adb shell settings put global window_animation_scale 0
./gradlew :app:connectedFreeDebugAndroidTest ./gradlew :app:connectedFreeDebugAndroidTest
- name: (Fail-only) upload test report - name: (Fail-only) upload test report

View file

@ -25,9 +25,9 @@ internal fun Project.configureForRootProject() {
delete(rootProject.buildDir) delete(rootProject.buildDir)
} }
tasks.withType<Wrapper> { tasks.withType<Wrapper> {
gradleVersion = "6.8-rc-4" gradleVersion = "6.8.1"
distributionType = Wrapper.DistributionType.ALL distributionType = Wrapper.DistributionType.ALL
distributionSha256Sum = "8bea06ceea02f8809a056553a9d9a200b95f11eaf15017ff6a819790070d2a29" distributionSha256Sum = "3db89524a3981819ff28c3f979236c1274a726e146ced0c8a2020417f9bc0782"
} }
configureBinaryCompatibilityValidator() configureBinaryCompatibilityValidator()
} }

View file

@ -60,14 +60,14 @@ object Dependencies {
const val fastscroll = "me.zhanghai.android.fastscroll:library:1.1.5" const val fastscroll = "me.zhanghai.android.fastscroll:library:1.1.5"
const val jgit = "org.eclipse.jgit:org.eclipse.jgit:3.7.1.201504261725-r" const val jgit = "org.eclipse.jgit:org.eclipse.jgit:3.7.1.201504261725-r"
const val kotlin_result = "com.michael-bull.kotlin-result:kotlin-result:1.1.10" const val kotlin_result = "com.michael-bull.kotlin-result:kotlin-result:1.1.10"
const val leakcanary = "com.squareup.leakcanary:leakcanary-android:2.5" const val leakcanary = "com.squareup.leakcanary:leakcanary-android:2.6"
const val modern_android_prefs = "de.Maxr1998.android:modernpreferences:1.2.0-alpha1" const val modern_android_prefs = "de.Maxr1998.android:modernpreferences:1.2.0-alpha1"
const val plumber = "com.squareup.leakcanary:plumber-android:2.5" const val plumber = "com.squareup.leakcanary:plumber-android:2.6"
const val sshj = "com.hierynomus:sshj:0.30.0" const val sshj = "com.hierynomus:sshj:0.30.0"
const val ssh_auth = "org.sufficientlysecure:sshauthentication-api:1.0" const val ssh_auth = "org.sufficientlysecure:sshauthentication-api:1.0"
const val timber = "com.jakewharton.timber:timber:4.7.1" const val timber = "com.jakewharton.timber:timber:4.7.1"
const val timberkt = "com.github.ajalt:timberkt:1.5.1" const val timberkt = "com.github.ajalt:timberkt:1.5.1"
const val whatthestack = "com.github.haroldadmin:WhatTheStack:0.2.0" const val whatthestack = "com.github.haroldadmin:WhatTheStack:0.3.0"
} }
object NonFree { object NonFree {

View file

@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists distributionPath=wrapper/dists
distributionSha256Sum=8bea06ceea02f8809a056553a9d9a200b95f11eaf15017ff6a819790070d2a29 distributionSha256Sum=3db89524a3981819ff28c3f979236c1274a726e146ced0c8a2020417f9bc0782
distributionUrl=https\://services.gradle.org/distributions/gradle-6.8-rc-4-all.zip distributionUrl=https\://services.gradle.org/distributions/gradle-6.8.1-all.zip
zipStoreBase=GRADLE_USER_HOME zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists zipStorePath=wrapper/dists