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

Switch to maven publish plugin for publishing #96

Merged
merged 8 commits into from
Jun 5, 2024

Conversation

ZacSweers
Copy link
Collaborator

This migrates the project to use the maven publish plugin and is functionally equivalent to the artifacts published with the previous plugin infrastructure.

Also opportunistically updates gradle, develocity, and kotlin along the way

@ZacSweers ZacSweers requested a review from autonomousapps May 8, 2024 18:10
@@ -54,10 +55,6 @@ publishing {
artifactId = 'sort-gradle-dependencies-dist'
artifact shadowDistZip
}
app(MavenPublication) {
artifactId = 'sort-gradle-dependencies-app'
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This one is created automatically by the plugin

@@ -16,11 +16,5 @@ class LibConvention : Plugin<Project> {

override fun apply(target: Project): Unit = target.run {
pluginManager.apply(BaseConvention::class.java)

extensions.configure(JavaPluginExtension::class.java) { j ->
// We specifically don't want either of these artifacts on the app project
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Handled automatically by the plugin when dokka is present

@autonomousapps
Copy link
Collaborator

This is almost ready to merge.

  • Need to validate the GHA/yaml changes.

Comment on lines 44 to 46
# TODO from the square side
ORG_GRADLE_PROJECT_signingInMemoryKeyId: ${{ secrets.TODO }}
ORG_GRADLE_PROJECT_signingInMemoryKeyPassword: ${{ secrets.TODO }}
Copy link
Collaborator

Choose a reason for hiding this comment

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

Validate.

@autonomousapps autonomousapps merged commit f076c6d into main Jun 5, 2024
2 checks passed
@autonomousapps autonomousapps deleted the z/publishingUpdates branch June 5, 2024 23:54
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.

2 participants