This commit is contained in:
Marcin Grzejszczak
2016-12-06 23:36:27 +01:00
committed by Marcin Grzejszczak
parent d69670db68
commit 3e90c1ab9d
6 changed files with 7 additions and 6 deletions

View File

@@ -138,7 +138,7 @@ contracts {
contractsWorkOffline = false
}
tasks.create(type: Jar, name: 'verifierStubsJar', dependsOn: 'convert') {
tasks.create(type: Jar, name: 'verifierStubsJar', dependsOn: 'generateClientStubs') {
baseName = project.name
classifier = contracts.stubsSuffix
from contractVerifier.stubsOutputDir

View File

@@ -23,7 +23,7 @@ package org.springframework.cloud.contract.spec
* @param <T> - type to which we want to convert the contract
*
* @author Marcin Grzejszczak
* @since 1.0.3
* @since 1.1.0
*/
public interface ContractConverter<T> {

View File

@@ -7,7 +7,7 @@ import org.springframework.core.io.support.SpringFactoriesLoader
* Retrieves file converters from the class path and operates on them.
*
* @author Marcin Grzejszczak
* @since 1.0.3
* @since 1.1.0
*/
@CompileStatic
class SingleFileConvertersHolder {

View File

@@ -26,10 +26,11 @@ import org.springframework.cloud.contract.verifier.config.TestMode
import org.springframework.cloud.contract.verifier.file.ContractMetadata
import static org.springframework.cloud.contract.verifier.util.NamesUtil.capitalize
/**
* Builds a single test for the given {@link ContractVerifierConfigProperties properties}
*
* @since 1.0.0
* @since 1.1.0
*/
@Slf4j
class JavaTestGenerator implements SingleTestGenerator {

View File

@@ -23,7 +23,7 @@ import org.springframework.cloud.contract.verifier.file.ContractMetadata
/**
* Builds a single test.
*
* @since 1.0.3
* @since 1.1.0
*/
@CompileStatic
interface SingleTestGenerator {

View File

@@ -22,7 +22,7 @@ import groovy.transform.InheritConstructors
* Exception occurring when we're trying to parse the DSL
*
* @author Marcin Grzejszczak
* @since 1.0.3
* @since 1.1.0
*/
@InheritConstructors
class DslParseException extends RuntimeException {