Skip to content

Commit

Permalink
Update distribution plugin. (#1079)
Browse files Browse the repository at this point in the history
Also disable some unused build features to improve configuration time.
  • Loading branch information
runningcode committed Oct 20, 2020
1 parent 1f59ce2 commit 3a3577d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion app/build.gradle.kts
Expand Up @@ -91,7 +91,7 @@ android {
}

testOptions {
unitTests.apply { isReturnDefaultValues = true }
unitTests.isReturnDefaultValues = true
}

tasks.withType<Test>().configureEach {
Expand Down
4 changes: 1 addition & 3 deletions buildSrc/src/main/kotlin/Config.kt
Expand Up @@ -4,7 +4,7 @@ object Config {
const val android = "com.android.tools.build:gradle:4.1.0"
const val kotlin = "org.jetbrains.kotlin:kotlin-gradle-plugin:${Dependency.Kotlin.version}"
const val google = "com.google.gms:google-services:4.3.4"
const val appDistribution = "com.google.firebase:firebase-appdistribution-gradle:1.4.0"
const val appDistribution = "com.google.firebase:firebase-appdistribution-gradle:2.0.1"
const val androidJunit5 = "de.mannodermaus.gradle.plugins:android-junit5:1.6.2.0"
}

Expand Down Expand Up @@ -96,8 +96,6 @@ object Config {
object Misc {
const val sentry = "io.sentry:sentry-android:2.2.2"
const val jackson = "com.fasterxml.jackson.module:jackson-module-kotlin:2.11.3"
const val threeTenBp = "org.threeten:threetenbp:1.4.0"
const val javaxInject = "javax.inject:javax.inject:1"
const val blurView = "com.eightbitlab:blurview:1.6.3"
const val iconDialog = "com.maltaisn:icondialog:3.3.0"
const val iconDialogMaterial = "com.maltaisn:iconpack-community-material:5.3.45"
Expand Down
5 changes: 5 additions & 0 deletions gradle.properties
Expand Up @@ -26,3 +26,8 @@ org.gradle.parallel=true
org.gradle.vfs.watch=true

android.nonTransitiveRClass=true

android.defaults.buildfeatures.aidl=false
android.defaults.buildfeatures.renderscript=false
android.defaults.buildfeatures.resvalues=false
android.defaults.buildfeatures.shaders=false

0 comments on commit 3a3577d

Please sign in to comment.