File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -44,8 +44,12 @@ signing {
4444 ?.replace(" \r\n " , " \n " ) // Normalize line endings
4545 ?.replace(" \\ n" , " \n " ) // Handle escaped newlines
4646
47+ println (" GPG Key: $signingKey " )
48+
4749 val signingPassword = System .getenv(" MAVEN_GPG_PASSPHRASE" )
4850
51+ println (" GPG Passphrase: $signingPassword " )
52+
4953 if (signingKey != null && signingPassword != null ) {
5054 useInMemoryPgpKeys(signingKey, signingPassword)
5155 }
@@ -102,6 +106,9 @@ mavenPublishing {
102106 // Only configure Maven Central publishing if credentials are available
103107 val hasCredentials = (System .getenv(" CENTRAL_TOKEN_USERNAME" ) != null && System .getenv(" CENTRAL_TOKEN_PASSWORD" ) != null )
104108
109+ println (" Has credentials: $hasCredentials " )
110+ print (" CENTRAL_TOKEN_USERNAME: ${System .getenv(" CENTRAL_TOKEN_USERNAME" )} " )
111+ print (" CENTRAL_TOKEN_PASSWORD: ${System .getenv(" CENTRAL_TOKEN_PASSWORD" )} " )
105112 publishToMavenCentral(automaticRelease = hasCredentials)
106113}
107114
You can’t perform that action at this time.
0 commit comments