Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions nmcp/src/main/kotlin/nmcp/NmcpExtension.kt
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ interface NmcpExtension {
* - Adds `nmcpPublishAllPublicationsToCentralPortal`
* - Adds `nmcpPublishAllPublicationsToCentralPortalSnapshots`
*/
@Deprecated("This duplicates the com.gradleup.nmcp.aggregation functionality. Either apply com.gradleup.nmcp.aggregation or the settings plugin to publish an aggregation.")
fun publishAllPublicationsToCentralPortal(action: Action<CentralPortalOptions>)

/**
Expand Down
1 change: 1 addition & 0 deletions nmcp/src/main/kotlin/nmcp/internal/DefaultNmcpExtension.kt
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ internal abstract class DefaultNmcpExtension(private val project: Project): Nmcp
}
}

@Deprecated("This duplicates the com.gradleup.nmcp.aggregation functionality. Either apply com.gradleup.nmcp.aggregation or the settings plugin to publish an aggregation.")
override fun publishAllPublicationsToCentralPortal(action: Action<CentralPortalOptions>) {
action.execute(spec)
}
Expand Down
Loading