From 9a76f77d6075f93c0bf99da7af652933c9460df0 Mon Sep 17 00:00:00 2001 From: Goooler Date: Wed, 3 Aug 2022 22:18:49 +0800 Subject: [PATCH] Apply anvil plugin --- app/build.gradle.kts | 1 + biz/main/build.gradle.kts | 1 + build.gradle.kts | 1 + common/build.gradle.kts | 1 + gradle/libs.versions.toml | 1 + 5 files changed, 5 insertions(+) diff --git a/app/build.gradle.kts b/app/build.gradle.kts index f105e9e5b..88551af70 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -5,6 +5,7 @@ plugins { alias(libs.plugins.android.application) alias(libs.plugins.kotlin.android) alias(libs.plugins.kotlin.kapt) + alias(libs.plugins.anvil) } android { diff --git a/biz/main/build.gradle.kts b/biz/main/build.gradle.kts index 52791068d..cc9a8105b 100644 --- a/biz/main/build.gradle.kts +++ b/biz/main/build.gradle.kts @@ -2,6 +2,7 @@ plugins { alias(libs.plugins.android.library) alias(libs.plugins.kotlin.android) alias(libs.plugins.kotlin.kapt) + alias(libs.plugins.anvil) alias(libs.plugins.moshiX) } diff --git a/build.gradle.kts b/build.gradle.kts index ad24c0d4f..91bc483b9 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -8,6 +8,7 @@ plugins { alias(libs.plugins.android.library) apply false alias(libs.plugins.kotlin.android) apply false alias(libs.plugins.kotlin.kapt) apply false + alias(libs.plugins.anvil) apply false alias(libs.plugins.ktlint) apply false alias(libs.plugins.detekt) apply false alias(libs.plugins.moshiX) apply false diff --git a/common/build.gradle.kts b/common/build.gradle.kts index 160705995..461f9164e 100644 --- a/common/build.gradle.kts +++ b/common/build.gradle.kts @@ -2,6 +2,7 @@ plugins { alias(libs.plugins.android.library) alias(libs.plugins.kotlin.android) alias(libs.plugins.kotlin.kapt) + alias(libs.plugins.anvil) alias(libs.plugins.moshiX) } diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 2f1fcec96..49f2f2a82 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -28,6 +28,7 @@ android-application = { id = "com.android.application", version.ref = "agp" } android-library = { id = "com.android.library", version.ref = "agp" } kotlin-android = { id = "org.jetbrains.kotlin.android", version.ref = "kotlin" } kotlin-kapt = { id = "org.jetbrains.kotlin.kapt", version.ref = "kotlin" } +anvil = "com.squareup.anvil:2.4.1" moshiX = "dev.zacsweers.moshix:0.18.3" ktlint = "org.jlleitschuh.gradle.ktlint:10.3.0" detekt = "io.gitlab.arturbosch.detekt:1.21.0"