Skip to content

Commit

Permalink
Ignore curtains.internal.WindowCallbackWrapper (#58)
Browse files Browse the repository at this point in the history
  • Loading branch information
giacomuzzi authored Jan 12, 2022
1 parent 589718b commit 850aa19
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,10 @@ open class ByeByeJetifierExtension {
"shark/AndroidReferenceMatchers",

// com.squareup.leakcanary:leakcanary-object-watcher-android-support-fragments:2.5
"leakcanary/internal/AndroidSupportFragmentDestroyWatcher"
"leakcanary/internal/AndroidSupportFragmentDestroyWatcher",

// com.squareup.leakcanary:leakcanary-android:2.8.1
"curtains/internal/WindowCallbackWrapper"
)

var excludedProjectsFromScanning: List<String> = emptyList()
Expand Down
4 changes: 4 additions & 0 deletions sample/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,8 @@ dependencies {

// The following libraries declare legacy dependencies in some transitive dependency pom file
implementation ("com.auth0.android:jwtdecode:1.4.0")

// WindowCallbackWrapper should be ignored by default
// https://github.com/square/leakcanary/issues/2212
implementation('com.squareup.leakcanary:leakcanary-android:2.8.1')
}
2 changes: 1 addition & 1 deletion sample/buildSrc/src/main/kotlin/BuildLibs.kt
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ object BuildLibs {

const val ANDROID_GRADLE_PLUGIN = "com.android.tools.build:gradle:4.1.1"
const val KOTLIN_GRADLE_PLUGIN = "org.jetbrains.kotlin:kotlin-gradle-plugin:1.4.20"
const val BYE_BYE_JETIFIER_GRADLE_PLUGIN = "com.dipien:bye-bye-jetifier:1.2.0-SNAPSHOT"
const val BYE_BYE_JETIFIER_GRADLE_PLUGIN = "com.dipien:bye-bye-jetifier:1.3.0-SNAPSHOT"
}

0 comments on commit 850aa19

Please sign in to comment.