generateContractSources

fun generateContractSources(contracts: List<File>, classpath: List<File>, output: File): Int

Writes the Kotlin sources generated from the api module's contracts (none, or the one assembleWowContract wrote) under output, which it clears first (ContractSources): the <Context>Contracts and the views of the states, which reference the classes of the classpath the code compiles against; with wow-query-api on it, the query field constants of the states too. What the Gradle plugin's generateWowContractSources does. Returns the number of files written.