mirror of
https://github.com/jellyfin/jellyfin-androidtv.git
synced 2026-10-26 16:45:23 +00:00
Disable LeakCanary by default and add option to gradle properties to enable
This commit is contained in:
1 parent
f75f35d421
commit
a32fee80c4
2 files changed
+5
-1
No files matched your search
@@ -127,7 +127,8 @@ dependencies {
|
||||
implementation("com.jakewharton.timber:timber:4.7.1")
|
||||
|
||||
// Debugging
|
||||
debugImplementation("com.squareup.leakcanary:leakcanary-android:2.6")
|
||||
if (getProperty("leakcanary.enable")?.toBoolean() == true)
|
||||
debugImplementation("com.squareup.leakcanary:leakcanary-android:2.6")
|
||||
|
||||
// Testing
|
||||
testImplementation("junit:junit:4.12")
|
||||
|
||||
@@ -10,3 +10,6 @@ kotlin.incremental=true
|
||||
# Android
|
||||
android.enableJetifier=true
|
||||
android.useAndroidX=true
|
||||
|
||||
# Enable LeakCanary
|
||||
leakcanary.enable=false
|
||||
Reference in new issue
Block a user