11plugins {
22 `java- gradle- plugin`
3- id(" com.gradle.plugin-publish" ) version " 0.14 .0"
3+ id(" com.gradle.plugin-publish" ) version " 1.2 .0"
44 id(" org.sonarqube" ) version " 3.1.1"
55 kotlin(" jvm" ) version " 1.8.21"
66 `maven- publish`
@@ -62,27 +62,24 @@ dependencies {
6262}
6363
6464gradlePlugin {
65+ website = " https://github.com/springdoc/springdoc-openapi-gradle-plugin"
66+ vcsUrl = " https://github.com/springdoc/springdoc-openapi-gradle-plugin.git"
6567 plugins {
6668 create(" springdoc-gradle-plugin" ) {
6769 id = " org.springdoc.openapi-gradle-plugin"
6870 displayName = " A Gradle plugin for the springdoc-openapi library"
6971 description = " This plugin uses springdoc-openapi to generate an OpenAPI description at build time"
7072 implementationClass = " org.springdoc.openapi.gradle.plugin.OpenApiGradlePlugin"
73+ tags = listOf (" springdoc" , " openapi" , " swagger" )
7174 }
7275 }
7376}
7477
75- pluginBundle {
76- website = " https://github.com/springdoc/springdoc-openapi-gradle-plugin"
77- vcsUrl = " https://github.com/springdoc/springdoc-openapi-gradle-plugin.git"
78- tags = listOf (" springdoc" , " openapi" , " swagger" )
79- }
80-
8178val jvmVersion: JavaLanguageVersion = JavaLanguageVersion .of(8 )
8279
8380tasks.withType< org.jetbrains.kotlin.gradle.tasks.KotlinCompile > {
8481 kotlinOptions {
85- jvmTarget = " 1.${ jvmVersion.toString()} "
82+ jvmTarget = " 1.$jvmVersion "
8683 }
8784}
8885
@@ -96,5 +93,5 @@ detekt {
9693 parallel = true
9794}
9895tasks.withType< io.gitlab.arturbosch.detekt.Detekt > ().configureEach {
99- jvmTarget = " 1.${ jvmVersion.toString()} "
96+ jvmTarget = " 1.$jvmVersion "
10097}
0 commit comments