feat(build): add Detekt

This commit is contained in:
Harsh Shandilya 2022-10-02 15:31:45 +05:30
parent 5ab0774689
commit f0cff549b4
No known key found for this signature in database
3 changed files with 21 additions and 1 deletions

View file

@ -49,6 +49,7 @@ androidx-test-uiautomator = "androidx.test.uiautomator:uiautomator:2.3.0-alpha01
androidx-work-runtime-ktx = { module = "androidx.work:work-runtime-ktx", version.ref = "workmanager" }
build-agp = { module = "com.android.tools.build:gradle", version.ref = "agp" }
build-cachefix = "org.gradle.android.cache-fix:org.gradle.android.cache-fix.gradle.plugin:2.5.7"
build-detekt = "io.gitlab.arturbosch.detekt:detekt-gradle-plugin:1.21.0"
build-kotlin-gradle = { module = "org.jetbrains.kotlin:kotlin-gradle-plugin", version.ref = "kotlin" }
build-kotlin-serialization = { module = "org.jetbrains.kotlin:kotlin-serialization", version.ref = "kotlin" }
build-semver = "com.vdurmont:semver4j:3.1.0"
@ -87,5 +88,5 @@ testparameterinjector = "com.google.testparameterinjector:test-parameter-injecto
[plugins]
android-test = { id = "com.android.test", version.ref = "agp" }
hilt = { id = "com.google.dagger.hilt.android", version.ref = "dagger" }
sqldelight = { id = "app.cash.sqldelight", version.ref = "sqldelight" }
napt = { id = "com.sergei-lapin.napt", version = "1.17" }
sqldelight = { id = "app.cash.sqldelight", version.ref = "sqldelight" }