From a2607245910cea584680e2aa5df79790a704f2fe Mon Sep 17 00:00:00 2001 From: riva Date: Wed, 14 Sep 2022 17:00:14 +0200 Subject: [PATCH] GH-12 GH-2 Update README GH-2 Publish to Gradle Plugin Portal --- README.md | 3 +++ build.gradle.kts | 8 +++++++- gradle.properties | 2 +- 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d3dcba1..254c58b 100644 --- a/README.md +++ b/README.md @@ -36,6 +36,9 @@ asyncapi { // Force writing of the generated files to given directory even if it is a git repo with unstaged files or not empty // dir (defaults to false) forceWrite = false + + // Additional parameters that will be passed to templates. Have to be provided as a map. + parameters = [:] } ``` diff --git a/build.gradle.kts b/build.gradle.kts index 5fa1dbe..d2ae659 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -23,8 +23,14 @@ gradlePlugin { id = "com.rivancic.asyncapi-gradle-plugin" displayName = "AsyncAPI Code Generator" description = - "Plugin that generates code based on AsyncAPI file specification. Wraps original npm AsyncApi generator." + "Plugin that generates code based on AsyncAPI file specification. It wraps original npm AsyncApi generator." implementationClass = "com.rivancic.asyncapi.gradle.AsyncApiGeneratorPlugin" } } +} + +pluginBundle { + website = "https://github.com/rivancic/asyncapi-generator-gradle-plugin" + vcsUrl = "https://github.com/rivancic/asyncapi-generator-gradle-plugin" + tags = listOf("asyncapi", "generator") } \ No newline at end of file diff --git a/gradle.properties b/gradle.properties index f4d495f..79ba115 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,4 +1,4 @@ # Project propertioes ########## group=com.rivancic -version=1.0-SNAPSHOT +version=0.1.0 ################################