forked from pact-foundation/pact-jvm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
50 lines (41 loc) · 1.17 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
plugins {
id "com.gradle.plugin-publish" version "0.9.7"
}
apply plugin: 'java-gradle-plugin'
apply plugin: 'maven-publish'
dependencies {
compile "org.codehaus.groovy.modules.http-builder:http-builder:$httpBuilderVersion"
compile project(":pact-jvm-provider_${project.scalaVersion}")
compile "org.fusesource.jansi:jansi:${project.jansiVersion}"
}
publishing {
publications {
maven(MavenPublication) {
from components.java
artifact sourceJar {
classifier "sources"
}
artifact javadocJar {
classifier "javadoc"
}
}
}
}
pluginBundle {
website = 'https://github.com/DiUS/pact-jvm/tree/master/pact-jvm-provider-gradle'
vcsUrl = 'https://github.com/DiUS/pact-jvm.git'
description = 'Gradle plugin for verifying pacts against a provider.'
tags = ['pact', 'provider', 'consumerdrivencontracts', 'microservicetesting']
plugins {
pactProviderPlugin {
id = 'au.com.dius.pact'
displayName = 'Gradle Pact Provider plugin'
}
}
}
test {
// exclude the gradle version of jansi from the classpath
classpath = project.sourceSets.test.runtimeClasspath.filter {
it.name != 'jansi-1.2.1.jar'
}
}