From 0a419798134008d1060942408d14c672136a0f8c Mon Sep 17 00:00:00 2001 From: Daniele Conti Date: Tue, 23 Aug 2022 09:30:00 +0100 Subject: [PATCH] Use variable interpolation in docs --- docs/leakcanary-for-releases.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/leakcanary-for-releases.md b/docs/leakcanary-for-releases.md index a42575b252..0f92591f5b 100644 --- a/docs/leakcanary-for-releases.md +++ b/docs/leakcanary-for-releases.md @@ -23,9 +23,9 @@ LeakCanary provides an artifact dedicated to detecting leaks in release builds: ```groovy dependencies { // LeakCanary for releases - releaseImplementation "com.squareup.leakcanary:leakcanary-android-release:${leakCanaryVersion}" + releaseImplementation 'com.squareup.leakcanary:leakcanary-android-release:{{ leak_canary.release }}' // Optional: detect retained objects. This helps but is not required. - releaseImplementation "com.squareup.leakcanary:leakcanary-object-watcher-android:${leakCanaryVersion}" + releaseImplementation 'com.squareup.leakcanary:leakcanary-object-watcher-android:{{ leak_canary.release }}' } ```