Files
spring-cloud-contract/_includes/build.gradle
Marcin Grzejszczak 4d401df5c3 Updated docs
2016-09-02 12:02:50 +02:00

27 lines
849 B
Groovy

buildscript {
dependencies {
classpath "io.spring.gradle:dependency-management-plugin:0.6.0.RELEASE"
// if using Stub Runner (consumer side) only remove this dependency
classpath "{@= groupId @}:spring-cloud-contract-gradle-plugin:{@= version @}"
}
}
apply plugin: "io.spring.dependency-management"
apply plugin: 'contract-verifier'
dependencyManagement {
imports {
mavenBom '{@= groupId @}:spring-cloud-contract-dependencies:{@= version @}'
}
}
dependencies {
testCompile '{@= groupId @}:spring-cloud-starter-contract-verifier'
}
// In this section you define all Spring Cloud Contract Verifier Gradle Plugin properties
contractVerifier {
baseClassForTests = 'com.example.MvcTest'
// fully qualified name to a class that will be the base class for your generated test classes
}