Fixing RestAssured setup by excluding spring import

This commit is contained in:
Marcin Grzejszczak
2020-07-23 15:19:41 +02:00
parent bd5b6e8800
commit 2c2f49e98d
2 changed files with 11 additions and 2 deletions

View File

@@ -105,7 +105,7 @@ task copyOutput(type: Copy) {
into '/spring-cloud-contract-output'
}
test{
test {
finalizedBy("copyOutput")
useJUnitPlatform()
}
@@ -155,7 +155,8 @@ task resolveDependencies {
println "Retrieving dependencies for $name"
try {
config.files
} catch (e) {
}
catch (e) {
project.logger.info e.message // some cannot be resolved, silentlyish skip them
}
}

View File

@@ -26,6 +26,10 @@
<groupId>com.sun.xml.bind</groupId>
<artifactId>jaxb-osgi</artifactId>
</exclusion>
<exclusion>
<groupId>org.springframework</groupId>
<artifactId>*</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
@@ -36,6 +40,10 @@
<groupId>com.sun.xml.bind</groupId>
<artifactId>jaxb-osgi</artifactId>
</exclusion>
<exclusion>
<groupId>org.springframework</groupId>
<artifactId>*</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>