Fixing RestAssured setup by excluding spring import
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user