Skip to content

Update publishing to new gradle plugin#39

Merged
MrStahlfelge merged 11 commits into
libgdx:masterfrom
Berstanio:feat/new-publish
Jun 5, 2025
Merged

Update publishing to new gradle plugin#39
MrStahlfelge merged 11 commits into
libgdx:masterfrom
Berstanio:feat/new-publish

Conversation

@Berstanio
Copy link
Copy Markdown
Contributor

The 'maven' publishing plugin is deprecated since gradle 5 and was removed in newer versions:
https://docs.gradle.org/current/userguide/upgrading_version_5.html
This pr upgrades the publishing process to use the new 'maven-publish' plugin.

Due to some generic issues I encountered when testing locally, I upgraded gradle in the same run to 7.3.3 which resolved them.

Copy link
Copy Markdown
Member

@SimonIT SimonIT left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unless I'm overseeing something, isn't

java {
    withSourcesJar()
    withJavadocJar()
}

missing? Especially gwt won't work without it

Copy link
Copy Markdown
Member

@MrStahlfelge MrStahlfelge left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • readme.md information to build from source does not apply any more, please change
  • gradlew test:html:superdev does not work

@Berstanio Berstanio requested a review from a team as a code owner December 26, 2024 11:31
@Berstanio
Copy link
Copy Markdown
Contributor Author

I think I addressed all issues

@Berstanio Berstanio mentioned this pull request Jun 4, 2025
Copy link
Copy Markdown
Member

@MrStahlfelge MrStahlfelge left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works well now, thanks

@MrStahlfelge MrStahlfelge merged commit 21b7c13 into libgdx:master Jun 5, 2025
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

Successfully merging this pull request may close these issues.

3 participants