Skip to content

Commit

Permalink
Fix textual occurrences of task names
Browse files Browse the repository at this point in the history
  • Loading branch information
TWiStErRob committed Jul 18, 2023
1 parent c7a8209 commit 83bf1a3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -201,8 +201,8 @@ By default, `initialize${repository.name.capitalize()}StagingRepository` task ad

The description can be customized via:
* `io.github.gradlenexus.publishplugin.NexusPublishExtension.getRepositoryDescription` property (default: `$group:$module:$version` of the root project)
* `io.github.gradlenexus.publishplugin.InitializeNexusStagingRepository.repositoryDescription` property
* `io.github.gradlenexus.publishplugin.FindStagingRepository.descriptionRegex` property (regex, default: `"\\b" + Regex.escape(repositoryDescription) + "(\\s|$)"`)
* `io.github.gradlenexus.publishplugin.InitializeNexusStagingRepositoryTask.repositoryDescription` property
* `io.github.gradlenexus.publishplugin.FindStagingRepositoryTask.descriptionRegex` property (regex, default: `"\\b" + Regex.escape(repositoryDescription) + "(\\s|$)"`)

So the steps to publish and release in different Gradle invocations are:
1. Publish the artifacts to the staging repository: `./gradlew publishToSonatype`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ abstract class FindStagingRepositoryTask : AbstractNexusStagingRepositoryTask()
registry.get()[repository.name] = descriptor
}

// TODO: Duplication with InitializeNexusStagingRepository
// TODO: Duplication with InitializeNexusStagingRepositoryTask
private fun determineStagingProfileId(repository: NexusRepository, client: NexusClient): String {
var stagingProfileId = repository.stagingProfileId.orNull
if (stagingProfileId == null) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ abstract class InitializeNexusStagingRepositoryTask : AbstractNexusStagingReposi
registry.get()[repository.name] = descriptor
}

// TODO: Duplication with FindStagingRepositoryTask
private fun determineStagingProfileId(repository: NexusRepository, client: NexusClient): String {
var stagingProfileId = repository.stagingProfileId.orNull
if (stagingProfileId == null) {
Expand Down

0 comments on commit 83bf1a3

Please sign in to comment.