io.karte.android.gradleplugin.visualtracking.ModificationLambdaSpecification.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gradle-plugin Show documentation
Show all versions of gradle-plugin Show documentation
gradle-plugin module for KARTE Android SDK
package io.karte.android.gradleplugin.visualtracking
object ModificationLambdaSpecification {
fun isSatisfied(signature: String): Boolean {
return signature.contains(Regex("\\\$lambda-[0-9]+\\(.*Landroid/view/View;.*\\)")) ||
signature.contains(Regex("\\\$lambda\\\$[0-9]+\\(.*Landroid/view/View;.*\\)"))
}
}