Skip to content

Commit

Permalink
chore: upgrade Gradle project to use 1.0 of the plugin-publish plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
uglyog committed Aug 2, 2022
1 parent f021ef1 commit 957f3a3
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 7 deletions.
19 changes: 13 additions & 6 deletions provider/gradle/build.gradle
Original file line number Diff line number Diff line change
@@ -1,15 +1,19 @@
plugins {
id "com.gradle.plugin-publish" version "0.11.0"
id "com.gradle.plugin-publish" version "1.0.0"
}

dependencies {
compile project(":provider")
compile gradleApi()
implementation project(":provider")
implementation gradleApi()
implementation localGroovy()
implementation 'com.github.ajalt:mordant:1.2.1'
implementation 'commons-io:commons-io:2.11.0'
implementation "org.apache.commons:commons-lang3:${project.commonsLang3Version}"

testCompile 'org.mockito:mockito-core:2.28.2'
testRuntime "org.junit.vintage:junit-vintage-engine:${project.junit5Version}"
testCompile('org.spockframework:spock-core:2.0-M2-groovy-2.5') {
testImplementation "junit:junit:${project.junitVersion}"
testImplementation 'org.mockito:mockito-core:2.28.2'
testRuntimeOnly "org.junit.vintage:junit-vintage-engine:${project.junit5Version}"
testImplementation('org.spockframework:spock-core:2.0-groovy-3.0') {
exclude group: 'org.codehaus.groovy'
}
}
Expand All @@ -24,11 +28,14 @@ pluginBundle {
vcsUrl = 'https://github.com/DiUS/pact-jvm.git'
description = 'Gradle plugin for verifying pacts against a provider.'
tags = ['pact', 'cdc', 'consumerdrivencontracts', 'microservicetesting']
}

gradlePlugin {
plugins {
pactProviderPlugin {
id = 'au.com.dius.pact'
displayName = 'Gradle Pact Provider plugin'
implementationClass = 'au.com.dius.pact.provider.gradle.PactPlugin'
}
}
}
Expand Down

This file was deleted.

0 comments on commit 957f3a3

Please sign in to comment.