Skip to content

Commit

Permalink
Merge pull request #2407 from fourlastor/patch-1
Browse files Browse the repository at this point in the history
Use double quotes to allow variables in strings
  • Loading branch information
pyricau committed Aug 23, 2022
2 parents af4af60 + 0a41979 commit f91c479
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/leakcanary-for-releases.md
Expand Up @@ -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 }}'
}
```

Expand Down

0 comments on commit f91c479

Please sign in to comment.