From 8b1b7748243d47848a7e8e0b414651be245cbac4 Mon Sep 17 00:00:00 2001 From: paul-dingemans Date: Sat, 14 Oct 2023 15:50:16 +0200 Subject: [PATCH] Add log statement for ktlint-cli relocation --- ktlint-cli/build.gradle.kts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ktlint-cli/build.gradle.kts b/ktlint-cli/build.gradle.kts index b59cd0f55d..6d7eca0ace 100644 --- a/ktlint-cli/build.gradle.kts +++ b/ktlint-cli/build.gradle.kts @@ -221,6 +221,8 @@ publishing { name = "mavenCentral" url = URI.create("https://oss.sonatype.org/service/local/staging/deploy/maven2/") + logger.lifecycle("Create relocation pom.xml for ktlint-cli and upload to $url") + credentials { username = providers.gradleProperty("SONATYPE_NEXUS_USERNAME").orNull ?: System.getenv("SONATYPE_NEXUS_USERNAME") @@ -236,6 +238,8 @@ publishing { // TODO: Remove in release after ktlint 1.0.1 signing { + logger.lifecycle("Sign relocation pom.xml for ktlint-cli") + // Uncomment following line to use gpg-agent for signing // See https://docs.gradle.org/current/userguide/signing_plugin.html#sec:using_gpg_agent how to configure it // useGpgCmd()