File tree Expand file tree Collapse file tree 1 file changed +11
-6
lines changed
spring-cloud-contract-tools/spring-cloud-contract-gradle-plugin/gradle Expand file tree Collapse file tree 1 file changed +11
-6
lines changed Original file line number Diff line number Diff line change @@ -56,22 +56,27 @@ if (isReleaseToCentral) {
5656
5757 apply plugin : ' com.gradle.plugin-publish'
5858
59- pluginBundle {
59+ gradlePlugin {
6060 website = ' https://github.com/spring-cloud/spring-cloud-contract'
6161 vcsUrl = ' https://github.com/spring-cloud/spring-cloud-contract'
6262
6363 plugins {
64- plugin {
64+ springCloudContractPlugin {
6565 id = ' org.springframework.cloud.contract'
6666 displayName = ' spring-cloud-contract'
6767 description = ' Spring Cloud Contract Gradle Plugin'
68- tags = [' spring' , ' spring-framework' , ' spring-cloud' , ' spring-cloud-contract' ]
68+ tags. set([' spring' , ' spring-framework' , ' spring-cloud' , ' spring-cloud-contract' ])
69+ implementationClass = ' org.springframework.cloud.contract.verifier.plugin.SpringCloudContractVerifierGradlePlugin'
6970 }
7071 }
72+ }
7173
72- mavenCoordinates {
73- groupId = project. group
74- artifactId = project. name
74+ publishing {
75+ publications {
76+ pluginMaven(MavenPublication ) {
77+ groupId = project. group
78+ artifactId = project. name
79+ }
7580 }
7681 }
7782}
You can’t perform that action at this time.
0 commit comments