Skip to content

Commit 156c911

Browse files
committed
Revert "detekt setup"
This reverts commit 8943e51.
1 parent 0b61443 commit 156c911

File tree

11 files changed

+18
-79
lines changed

11 files changed

+18
-79
lines changed

.idea/deploymentTargetDropDown.xml

Lines changed: 12 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/gradle.xml

Lines changed: 3 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/misc.xml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/build.gradle.kts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ plugins {
33
id(Plugins.Core)
44
id(Plugins.Ksp)
55
id(Plugins.ComposeCore)
6-
id("detekt-plugin")
76
}
87

98
android {

build.gradle.kts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ buildscript {
1515

1616
plugins {
1717
id(Plugins.Ksp) version Versions.Compose.KspPlugin apply false
18-
id(Plugins.Detekt) version Versions.Detekt
1918
}
2019

2120
allprojects {

buildSrc/build.gradle.kts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ repositories {
1111
dependencies {
1212
implementation("com.android.tools.build:gradle:7.4.0")
1313
implementation(kotlin("gradle-plugin", "1.8.10"))
14-
compileOnly("io.gitlab.arturbosch.detekt:detekt-gradle-plugin:1.21.0")
1514
}
1615

1716
gradlePlugin {
@@ -22,8 +21,7 @@ gradlePlugin {
2221
"compose-core-plugin" to "plugin.compose.ComposeCorePlugin",
2322
"compose-feature-plugin" to "plugin.compose.ComposeFeaturePlugin",
2423
"room-db-plugin" to "plugin.RoomPlugin",
25-
"ut-plugin" to "plugin.UnitTestPlugin",
26-
"detekt-plugin" to "plugin.DetektConventionPlugin"
24+
"ut-plugin" to "plugin.UnitTestPlugin"
2725
)
2826

2927
plugins.forEach {

buildSrc/src/main/java/Dependencies.kt

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,6 @@ object Dependencies {
55
const val ProfilerInstaller = "androidx.profileinstaller:profileinstaller:1.3.0"
66
const val Benchmark = "androidx.benchmark:benchmark-macro-junit4:1.2.0-alpha13"
77

8-
object DeteKt {
9-
const val Compose = "o.nlopez.compose.rules:detekt:0.3.0"
10-
const val Gradle = "io.gitlab.arturbosch.detekt:detekt-gradle-plugin:${Versions.Detekt}"
11-
}
12-
138
object AndroidX {
149
const val Glance = "androidx.glance:glance:1.0.0-alpha05"
1510
const val GlanceAppWidget = "androidx.glance:glance-appwidget:1.0.0-alpha05"

buildSrc/src/main/java/Plugins.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,5 +38,4 @@ object Plugins {
3838
const val AndroidLibrary = "com.android.library"
3939
const val AndroidApplication = "com.android.application"
4040
const val Ksp = "com.google.devtools.ksp"
41-
const val Detekt = "io.gitlab.arturbosch.detekt"
4241
}

buildSrc/src/main/java/Versions.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ object Versions {
22
const val Kotlin = "1.8.10"
33
const val Coroutine = "1.6.4"
44
const val Room = "2.4.2"
5-
const val Detekt = "1.21.0"
65

76
object Compose {
87
const val OrbitMvi = "4.5.0"

buildSrc/src/main/java/plugin/DetektConventionPlugin.kt

Lines changed: 0 additions & 58 deletions
This file was deleted.

buildSrc/src/main/java/plugin/base/CorePlugin.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ import org.gradle.kotlin.dsl.dependencies
1010
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
1111
import plugin.util.PluginConstants
1212
import plugin.util.implementation
13+
import java.io.File
1314

1415
/**
1516
* Plugin containing all common code for any gradle
@@ -23,7 +24,6 @@ open class CorePlugin : Plugin<Project> {
2324
apply("kotlinx-serialization")
2425
apply("kotlin-parcelize")
2526
apply("org.sonarqube")
26-
// apply("detekt-plugin")
2727
}
2828

2929
val androidExtension =

0 commit comments

Comments
 (0)