Skip to content
Permalink
master
Switch branches/tags
Go to file
 
 
Cannot retrieve contributors at this time
48 lines (42 sloc) 1.52 KB
buildscript {
ext {
springBootVersion = '2.3.1.RELEASE'
}
repositories {
mavenCentral()
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
}
}
apply plugin: 'org.springframework.boot'
apply plugin: 'io.spring.dependency-management'
configurations {
//Logback causing spring boot errors
all*.exclude group: 'ch.qos.logback'
}
dependencies {
implementation "org.springframework.boot:spring-boot-starter-web"
implementation "org.springframework.boot:spring-boot-starter-data-rest"
implementation "org.springframework.boot:spring-boot-starter-data-jpa"
implementation "com.h2database:h2"
implementation "org.codehaus.groovy:groovy-all:$groovy"
implementation libs.clientProvided
implementation "javax.validation:validation-api:$validationApiVersion"
implementation 'org.slf4j:slf4j-simple:1.7.30'
testImplementation libs.test
testImplementation "org.skyscreamer:jsonassert:${jsonAssert}"
testImplementation "org.springframework.boot:spring-boot-starter-test"
implementation project(':springfox-swagger1')
implementation project(':springfox-swagger2')
implementation project(':springfox-data-rest')
implementation project(':springfox-petstore')
implementation project(':springfox-bean-validators')
}
// tag::update-contract-tests[]
// NOTE: Uncomment to bulk update contracts
//test {
// systemProperty("contract.tests.root", "$projectDir/src/test/resources")
// systemProperty("contract.tests.update", true)
//}
// end::update-contract-tests[]