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

stop publishing artifact without version suffix #148

Open
atais opened this issue Jul 30, 2024 · 2 comments
Open

stop publishing artifact without version suffix #148

atais opened this issue Jul 30, 2024 · 2 comments

Comments

@atais
Copy link

atais commented Jul 30, 2024

maybe its only my wrong configuration, but with

publishing {
    publications {
        register("crossBuildScala_212", MavenPublication::class) {
            artifact(crossBuildScala_212Jar)
        }
        register("crossBuildScala_213", MavenPublication::class) {
            artifact(crossBuildScala_213Jar)
        }
    }
}

I am getting 3 artifacts during publishToMavenLocal

  • allure-scalatest
  • allure-scalatest_2.12
  • allure-scalatest_2.13

i think allure-scalatest should not be published.
I understand that compiled sources might be needed for gradle to work properly, but it should not be propagated to the publish step

you can test this plugin with: https://github.com/atais/allure-java/blob/main/allure-scalatest/build.gradle.kts

@atais
Copy link
Author

atais commented Jul 30, 2024

Can be fixed with config as well, see allure-framework/allure-java#1107

@prokod
Copy link
Owner

prokod commented Jul 31, 2024 via email

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

2 participants