Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Publishing to Gradle portal #2

Open
vondacho opened this issue May 10, 2021 · 0 comments
Open

Publishing to Gradle portal #2

vondacho opened this issue May 10, 2021 · 0 comments

Comments

@vondacho
Copy link

vondacho commented May 10, 2021

Need: to use the plugin inside a Gradle script with Kotlin DSL.

Example: plugins { id("net.serenity-bdd.gradle").version("2.4.24") }

Proposal (I am missing permissions for submitting a pull request):

gradlePlugin {
    plugins {
        serenityPlugin {
            id = 'net.serenity-bdd.gradle'
            displayName = 'Serenity BDD Cucumber 6 Integration'
            description = 'Run Serenity tests and generate Serenity reports using Cucumber 6'
            implementationClass = 'net.serenitybdd.plugins.gradle.SerenityPlugin'
        }
    }
}

pluginBundle {
    website = 'https://github.com/serenity-bdd/serenity-gradle-plugin'
    vcsUrl = 'https://github.com/serenity-bdd/serenity-gradle-plugin.git'
    tags = ['cucumber', 'serenity', 'tests', 'reporting', 'livingdocumentation']
}

See publishing_gradle_plugins

* To upload a new release to Gradle portal:
* gradle clean publishPlugins -PcoreRelease -Pgradle.publish.key=<key> -Pgradle.publish.secret=<secret>

See PR: #4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant