Skip to content

Commit a62e0bc

Browse files
ShreckYecursoragent
andcommitted
Avoid repeating mid-sentence Gradle centralization links and fix one more repetitive "file" typo
Based on an AI review against GitHub's documentation fundamentals (https://docs.github.com/en/contributing/writing-for-github-docs/about-githubs-documentation-fundamentals) and the linked style guide requirements for links. Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent d44adbd commit a62e0bc

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

content/packages/working-with-a-github-packages-registry/working-with-the-gradle-registry.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ category:
3737

3838
{% data reusables.package_registry.required-scopes %}
3939

40-
You can authenticate to {% data variables.product.prodname_registry %} with Gradle using either Gradle Groovy or Kotlin DSL by editing your _build.gradle_ file (Gradle Groovy) or _build.gradle.kts_ file (Kotlin DSL) file (or _settings.gradle_/_settings.gradle.kts_ if you use [Centralizing Repository Declarations](https://docs.gradle.org/current/userguide/centralizing_repositories.html)) to include your {% data variables.product.pat_v1 %}. You can also configure Gradle Groovy and Kotlin DSL to recognize a single package or multiple packages in a repository.
40+
You can authenticate to {% data variables.product.prodname_registry %} with Gradle using either Gradle Groovy or Kotlin DSL by editing your _build.gradle_ file (Gradle Groovy) or _build.gradle.kts_ file (Kotlin DSL) (or _settings.gradle_/_settings.gradle.kts_ if you centralize repository declarations in the settings script to use published packages) to include your {% data variables.product.pat_v1 %}. You can also configure Gradle Groovy and Kotlin DSL to recognize a single package or multiple packages in a repository.
4141

4242
{% ifversion ghes %}
4343
Replace REGISTRY_URL with the URL for your instance's Maven registry. If your instance has subdomain isolation enabled, use `maven.HOSTNAME`. If your instance has subdomain isolation disabled, use `HOSTNAME/_registry/maven`. In either case, replace HOSTNAME with the host name of your {% data variables.product.prodname_ghe_server %} instance.
@@ -190,7 +190,7 @@ To use a published package from {% data variables.product.prodname_registry %},
190190
}
191191
```
192192

193-
1. Add the repository to your _build.gradle_ file (Gradle Groovy) or _build.gradle.kts_ file (Kotlin DSL) file, or to your _settings.gradle_ file (Gradle Groovy) or _settings.gradle.kts_ file (Kotlin DSL) in the `dependencyResolutionManagement` block if you use [Centralizing Repository Declarations](https://docs.gradle.org/current/userguide/centralizing_repositories.html).
193+
1. Add the repository to your _build.gradle_ file (Gradle Groovy) or _build.gradle.kts_ file (Kotlin DSL) file, or to your _settings.gradle_ file (Gradle Groovy) or _settings.gradle.kts_ file (Kotlin DSL) in the `dependencyResolutionManagement` block if you centralize repository declarations in the settings script. For more information, see [Centralizing Repository Declarations](https://docs.gradle.org/current/userguide/centralizing_repositories.html) in the Gradle documentation.
194194

195195
Example using Gradle Groovy:
196196

0 commit comments

Comments
 (0)