generateContract

fun generateContract(fragments: List<File>, service: String?, module: String, unpaired: Map<String, String>, output: File)

Writes the peer contract of the domain module module's completed fragments into output (PeerContracts.contractOf), naming the service that hosts its contexts when given; what the Gradle plugin's generateWowContract does. A context whose command or event classes are in an entry of unpaired (a class path entry of a project that does not pair with the module, to that project's path) fails, naming the line that pairs them: the contract would reach no api module, and no peer would see the context.