Skip to content

Commit

Permalink
♻️ Refactor some code to reintroduce Detekt
Browse files Browse the repository at this point in the history
  • Loading branch information
LeoColman committed Mar 5, 2024
1 parent 2073cf8 commit 65a49e1
Show file tree
Hide file tree
Showing 33 changed files with 35 additions and 694 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.main.kts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import io.github.typesafegithub.workflows.dsl.expressions.expr
import io.github.typesafegithub.workflows.dsl.workflow
import io.github.typesafegithub.workflows.yaml.writeToFile

val version = expr { Contexts.github.ref_name }
val version = expr { github.ref_name }
val DOCKER_HUB_USERNAME by Contexts.secrets
val DOCKER_HUB_TOKEN by Contexts.secrets
val dockerNamespace = "jopiterapp/jopiter-backend"
Expand Down
7 changes: 7 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ allprojects {
testImplementation("org.springframework.boot:spring-boot-starter-test")
testImplementation("io.kotest.extensions:kotest-extensions-spring:1.1.1")

// Detekt
detektPlugins("io.gitlab.arturbosch.detekt:detekt-formatting:1.23.4")

// Fuel
implementation("com.github.kittinunf.fuel:fuel:2.3.1")
Expand Down Expand Up @@ -114,3 +116,8 @@ dependencies {
implementation(project(":restaurants"))
implementation(project(":timetable"))
}

detekt {
autoCorrect = true
buildUponDefaultConfig = true
}
Loading

0 comments on commit 65a49e1

Please sign in to comment.