Skip to content

Deprecate publishAllPublicationsToCentralPortal()#264

Open
martinbonnin wants to merge 1 commit into
mainfrom
deprecate-allPublications
Open

Deprecate publishAllPublicationsToCentralPortal()#264
martinbonnin wants to merge 1 commit into
mainfrom
deprecate-allPublications

Conversation

@martinbonnin

Copy link
Copy Markdown
Member

The same functionality can be acheived using the aggregation:

plugins {
  id("com.gradleup.nmcp") // for exposing all the publications
  id("com.gradleup.nmcp.aggregation") // for configuring the aggregation
}

nmcpAggregation {
  centralPortal {
    username.set("")
    password.get("")
    publishAllChecksums.set(true)
  }
}

dependencies {
  nmcpAggregation(project)
}

This makes for a clearer separation of concerns and will make the plugin maintainance easier moving forward.

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.

1 participant