forked from loafle/openapi-generator-original
* [gradle] Plugin release management This applies steps necessary for publishing to Sonatype, including sources, javadoc, jar and signing. Also includes full POM details, per Sonatype requirements. * Properties placeholders in gradle plugin (should allow users without these settings to build locally) * Update build wrapper for install task to be used with new maven plugin, not maven-publish plugin * Add code signing for gradle and maven
Local Spec Sample
This example assumes you have Gradle 4.7+ installed. No gradle wrapper is provided in samples.
First, publish the openapi-generator-gradle-plugin locally via sh gradlew build publishToMavenLocal
in the module directory.
Then, run the following tasks in this example directory.
gradle openApiGenerate
gradle openApiMeta
gradle openApiValidate
gradle buildGoSdk