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

Publish the Gradle plugin to Maven Central? #121

Open
martinbonnin opened this issue Jun 29, 2023 · 3 comments
Open

Publish the Gradle plugin to Maven Central? #121

martinbonnin opened this issue Jun 29, 2023 · 3 comments

Comments

@martinbonnin
Copy link

Hi 👋

Would you consider publishing the Gradle Plugin to Maven Central? The runtime is already there so using the plugin requires Maven Central anyways.

@qurbonzoda
Copy link
Collaborator

Hi!
Could you please clarify what benefits publishing the plugin to Maven Central would have in your use case?

@martinbonnin
Copy link
Author

From the top of my head:

Advantages for me:

  • Artifacts are immutable on Maven Central
  • Maven Central hosts everything themselves. Gradle Portal proxies Jcenter and/or Maven Central so I never know where an artifact is coming from.
  • There've been occasions where pom files are different between MavenCentral and Gradle Portal.
  • Historically, I've found MavenCentral to have less outages (certainly because Gradle Portal is prone to Jcenter failures)
  • Anecdotally, it simplifies my build configuration because I can rely on a single repository

Advantages for you:

  • You get download stats
  • You can share the publishing configuration with the runtime
  • You don't pull a closed source plugin in your build
  • MavenCentral has organization support, you can share an account with several members, you don't have to share email/password

Disadvantages for you and me:

  • The plugin is less discoverable

@JakeWharton
Copy link

The plugin is less discoverable

You can still publish to Gradle's bespoke plugin repository and to Maven Central

OndrejSliva pushed a commit to OndrejSliva/kotlinx-benchmark that referenced this issue Jan 10, 2024
…rsion-1.8.20

build(deps): bump kotlin.version from 1.8.20-RC2 to 1.8.20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants