@@ -2,10 +2,10 @@ plugins {
2
2
`java- gradle- plugin`
3
3
id(" com.gradle.plugin-publish" ) version " 1.2.0"
4
4
id(" org.sonarqube" ) version " 3.1.1"
5
- kotlin(" jvm" ) version " 1.7.10 "
5
+ kotlin(" jvm" ) version " 1.8.20 "
6
6
`maven- publish`
7
7
id(" com.github.ben-manes.versions" ) version " 0.38.0"
8
- id(" io.gitlab.arturbosch.detekt" ) version " 1.16.0 "
8
+ id(" io.gitlab.arturbosch.detekt" ) version " 1.23.1 "
9
9
}
10
10
11
11
group = " org.springdoc"
@@ -17,12 +17,12 @@ sonarqube {
17
17
}
18
18
}
19
19
repositories {
20
+ gradlePluginPortal()
20
21
mavenCentral()
21
22
maven {
22
23
name = " Spring Repositories"
23
24
url = uri(" https://repo.spring.io/libs-release/" )
24
25
}
25
- gradlePluginPortal()
26
26
maven {
27
27
name = " Gradle Plugins Maven Repository"
28
28
url = uri(" https://plugins.gradle.org/m2/" )
@@ -57,7 +57,7 @@ dependencies {
57
57
implementation(" com.google.code.gson:gson:2.8.9" )
58
58
implementation(" org.awaitility:awaitility-kotlin:4.0.3" )
59
59
implementation(" com.github.psxpaul:gradle-execfork-plugin:0.2.0" )
60
- implementation(" org.springframework.boot:spring-boot-gradle-plugin:2.5.6 " )
60
+ implementation(" org.springframework.boot:spring-boot-gradle-plugin:2.7.14 " )
61
61
62
62
testImplementation(gradleTestKit())
63
63
testImplementation(platform(" org.junit:junit-bom:5.7.1" ))
@@ -66,26 +66,23 @@ dependencies {
66
66
testImplementation(" com.fasterxml.jackson.module:jackson-module-kotlin:2.15.2" )
67
67
testImplementation(" com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:2.13.2" )
68
68
69
- detektPlugins(" io.gitlab.arturbosch.detekt:detekt-formatting:1.16.0 " )
69
+ detektPlugins(" io.gitlab.arturbosch.detekt:detekt-formatting:1.23.1 " )
70
70
}
71
71
72
72
gradlePlugin {
73
+ website = " https://github.com/springdoc/springdoc-openapi-gradle-plugin"
74
+ vcsUrl = " https://github.com/springdoc/springdoc-openapi-gradle-plugin.git"
73
75
plugins {
74
76
create(" springdoc-gradle-plugin" ) {
75
77
id = " org.springdoc.openapi-gradle-plugin"
76
78
displayName = " A Gradle plugin for the springdoc-openapi library"
77
79
description = " This plugin uses springdoc-openapi to generate an OpenAPI description at build time"
78
80
implementationClass = " org.springdoc.openapi.gradle.plugin.OpenApiGradlePlugin"
81
+ tags = listOf (" springdoc" , " openapi" , " swagger" )
79
82
}
80
83
}
81
84
}
82
85
83
- pluginBundle {
84
- website = " https://github.com/springdoc/springdoc-openapi-gradle-plugin"
85
- vcsUrl = " https://github.com/springdoc/springdoc-openapi-gradle-plugin.git"
86
- tags = listOf (" springdoc" , " openapi" , " swagger" )
87
- }
88
-
89
86
val jvmVersion: JavaLanguageVersion = JavaLanguageVersion .of(8 )
90
87
91
88
java {
@@ -105,7 +102,7 @@ tasks.withType<Test>().configureEach {
105
102
}
106
103
107
104
detekt {
108
- config = files (" config/detekt/detekt.yml" )
105
+ config.setFrom (" config/detekt/detekt.yml" )
109
106
parallel = true
110
107
}
111
108
tasks.withType< io.gitlab.arturbosch.detekt.Detekt > ().configureEach {
0 commit comments