Skip to content

Commit

Permalink
Kotlin 2.0.0-Beta2.
Browse files Browse the repository at this point in the history
  • Loading branch information
ychescale9 committed Dec 15, 2023
1 parent 6399f1d commit 874ef8c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 13 deletions.
22 changes: 10 additions & 12 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -80,20 +80,18 @@ configurations.configureEach {
}
}

allprojects {
detekt {
source.setFrom(files("src/"))
config.setFrom(files("${project.rootDir}/detekt.yml"))
buildUponDefaultConfig = true
allRules = true
}
tasks.withType<Detekt>().configureEach {
reports {
html.outputLocation.set(file("build/reports/detekt/${project.name}.html"))
}
detekt {
source.setFrom(files("src/"))
config.setFrom(files("${project.rootDir}/detekt.yml"))
buildUponDefaultConfig = true
allRules = true
}
tasks.withType<Detekt>().configureEach {
reports {
html.outputLocation.set(file("build/reports/detekt/${project.name}.html"))
}
dependencies.add("detektPlugins", libs.detektFormatting)
}
dependencies.add("detektPlugins", libs.detektFormatting)

fun Project.envOrProp(name: String): String {
return providers.environmentVariable(name).orNull
Expand Down
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[versions]
kotlin = "2.0.0-Beta1"
kotlin = "2.0.0-Beta2"
spring-boot = "3.1.5"
spring-dependencyManagement = "1.1.4"
jib = "3.4.0"
Expand Down

0 comments on commit 874ef8c

Please sign in to comment.