Merge branch '1.0.x'

This commit is contained in:
Marcin Grzejszczak
2017-02-13 17:33:57 +01:00
3 changed files with 5 additions and 0 deletions

View File

@@ -107,6 +107,7 @@ class SpringCloudContractVerifierGradlePlugin implements Plugin<Project> {
configProperties = { extension }
}
task.dependsOn copyContracts
project.tasks.findByName("compileTestJava").dependsOn(task)
}
// TODO: Remove this task at some point

View File

@@ -32,6 +32,7 @@ class SampleJerseyProjectSpec extends ContractVerifierIntegrationSpec {
expect:
runTasksSuccessfully(checkAndPublishToMavenLocal())
jarContainsContractVerifierContracts('fraudDetectionService/build/libs')
fileExists("fraudDetectionService/build/test-results/test/TEST-org.springframework.cloud.contract.verifier.tests.contracts.com.example.jersey.FraudDetectionServiceSpec.xml")
}
def "should pass basic flow for JUnit"() {
@@ -41,6 +42,7 @@ class SampleJerseyProjectSpec extends ContractVerifierIntegrationSpec {
expect:
runTasksSuccessfully(checkAndPublishToMavenLocal())
jarContainsContractVerifierContracts('fraudDetectionService/build/libs')
fileExists("fraudDetectionService/build/test-results/test/TEST-org.springframework.cloud.contract.verifier.tests.contracts.com.example.jersey.FraudDetectionServiceTest.xml")
}
}

View File

@@ -24,6 +24,8 @@ buildscript {
}
}
apply plugin: 'checkstyle'
allprojects {
group = 'com.example.jersey'
}