Skip to content

Commit

Permalink
Update deps
Browse files Browse the repository at this point in the history
- detekt-gradle-plugin 1.21.0 + formatting plugin #2
  • Loading branch information
Tapac committed Oct 11, 2022
1 parent 557b498 commit 2a4f60a
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 8 deletions.
3 changes: 1 addition & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import io.gitlab.arturbosch.detekt.Detekt
import io.gitlab.arturbosch.detekt.report.ReportMergeTask
import org.jetbrains.exposed.gradle.Versions
import org.jetbrains.kotlin.gradle.tasks.KotlinJvmCompile

plugins {
Expand All @@ -23,7 +22,7 @@ val reportMerge by tasks.registering(ReportMergeTask::class) {

subprojects {
dependencies {
detektPlugins("io.gitlab.arturbosch.detekt", "detekt-formatting", Versions.detekt)
detektPlugins("io.gitlab.arturbosch.detekt", "detekt-formatting", "1.21.0")
}
tasks.withType<Detekt>().configureEach detekt@{
finalizedBy(reportMerge)
Expand Down
4 changes: 1 addition & 3 deletions buildSrc/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import org.jetbrains.exposed.gradle.Versions

repositories {
mavenCentral()
gradlePluginPortal()
Expand All @@ -10,7 +8,7 @@ dependencies {
implementation("org.jetbrains.kotlin.jvm", "org.jetbrains.kotlin.jvm.gradle.plugin", "1.7.20")
implementation("com.avast.gradle", "gradle-docker-compose-plugin", "0.14.9")
implementation("io.github.gradle-nexus", "publish-plugin", "1.0.0")
implementation("io.gitlab.arturbosch.detekt", "detekt-gradle-plugin", Versions.detekt)
implementation("io.gitlab.arturbosch.detekt", "detekt-gradle-plugin", "1.21.0")
}

plugins {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,4 @@ object Versions {

/** Test Dependencies **/
const val testContainers = "1.17.3"

/** Formatting **/
const val detekt = "1.21.0"
}

0 comments on commit 2a4f60a

Please sign in to comment.