gradle: Switch epoxy to KSP

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
This commit is contained in:
Aayush Gupta
2023-08-08 18:16:21 +05:30
parent c95afbd912
commit 6d1b4c99a0
2 changed files with 2 additions and 2 deletions

View File

@@ -153,7 +153,7 @@ dependencies {
//Epoxy
def epoxy_version = '5.1.2'
implementation "com.airbnb.android:epoxy:$epoxy_version"
kapt "com.airbnb.android:epoxy-processor:$epoxy_version"
ksp "com.airbnb.android:epoxy-processor:$epoxy_version"
//HTTP Clients
implementation "com.squareup.okhttp3:okhttp:4.11.0"

View File

@@ -59,7 +59,7 @@ class InfoView : RelativeLayout {
B = ViewInfoBinding.bind(view)
}
@ModelProp
@ModelProp(options = [ModelProp.Option.IgnoreRequireHashCode])
fun badge(info: Map.Entry<String, String>) {
B.txtTitle.text = info.key
.replace("_", " ")