From fa430089d94b050280aa367f03a5b323e3f9cd3c Mon Sep 17 00:00:00 2001 From: jacekgajek <68021034+jacekgajek@users.noreply.github.com> Date: Thu, 1 Jul 2021 16:56:42 +0200 Subject: [PATCH] Fix doc - missing types, won't compile (#7688) Co-authored-by: mc <42146119+mchammer01@users.noreply.github.com> --- .../working-with-the-gradle-registry.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/content/packages/working-with-a-github-packages-registry/working-with-the-gradle-registry.md b/content/packages/working-with-a-github-packages-registry/working-with-the-gradle-registry.md index 61d337913c..fb909862f4 100644 --- a/content/packages/working-with-a-github-packages-registry/working-with-the-gradle-registry.md +++ b/content/packages/working-with-a-github-packages-registry/working-with-the-gradle-registry.md @@ -117,7 +117,7 @@ publishing { } } publications { - register("gpr") { + register<MavenPublication>("gpr") { from(components["java"]) } } @@ -132,7 +132,7 @@ plugins { } subprojects { apply(plugin = "maven-publish") - configure { + configure<PublishingExtension> { repositories { maven { name = "GitHubPackages" @@ -144,7 +144,7 @@ subprojects { } } publications { - register("gpr") { + register<MavenPublication>("gpr") { from(components["java"]) } }