File tree Expand file tree Collapse file tree 1 file changed +10
-4
lines changed
Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -4,11 +4,10 @@ import com.gradle.publish.PublishTask.GRADLE_PUBLISH_SECRET
44import com.gradle.publish.PublishTask.GRADLE_PUBLISH_SECRET_ENV
55
66plugins {
7- id(" groovy " )
8- id(" org.jetbrains.kotlin.jvm" ) version " 1.8.10 "
7+ id(" java-gradle-plugin " )
8+ id(" org.jetbrains.kotlin.jvm" ) version " 1.8.22 "
99
1010 id(" io.gitlab.arturbosch.detekt" ) version " 1.23.0"
11- id(" java-gradle-plugin" )
1211 id(" com.autonomousapps.dependency-analysis" ) version " 1.20.0"
1312
1413 id(" com.gradle.plugin-publish" ) version " 1.2.0"
@@ -70,7 +69,14 @@ dependencies {
7069
7170 implementation(gradleKotlinDsl())
7271 implementation(" com.google.guava:guava:32.0.1-jre" )
72+
7373 implementation(" org.jetbrains.kotlin:kotlin-gradle-plugin:1.8.10" )
74+ implementation(" org.jetbrains.kotlin:kotlin-gradle-plugin-api:1.8.10" )
75+ implementation(" org.jetbrains.kotlin:kotlin-gradle-plugin-api:1.8.10" ) {
76+ capabilities {
77+ requireCapability(" org.jetbrains.kotlin:kotlin-gradle-plugin-api-gradle76" )
78+ }
79+ }
7480
7581 testCompileOnly(" org.jetbrains:annotations:24.0.1" )
7682
@@ -89,7 +95,7 @@ detekt {
8995 autoCorrect = true
9096
9197 buildUponDefaultConfig = true // preconfigure defaults
92- config = files (" $rootDir /config/detekt-config.yml" )
98+ config.from (" $rootDir /config/detekt-config.yml" )
9399
94100 allRules = false // activate all available (even unstable) rules.
95101}
You can’t perform that action at this time.
0 commit comments