ziv kesten
05/16/2024, 1:27 PMOSS_STAGING_PROFILE_ID
but i cant log in there.Robert Jaros
05/16/2024, 1:31 PMRobert Jaros
05/16/2024, 1:31 PMRobert Jaros
05/16/2024, 1:32 PMziv kesten
05/16/2024, 1:49 PMRobert Jaros
05/16/2024, 1:50 PMRobert Jaros
05/16/2024, 1:50 PMRobert Jaros
05/16/2024, 1:50 PMRobert Jaros
05/16/2024, 1:51 PMziv kesten
05/16/2024, 1:52 PMRobert Jaros
05/16/2024, 1:52 PMAyfri
05/16/2024, 2:25 PMmbonnin
05/16/2024, 4:38 PMmbonnin
05/16/2024, 4:40 PMAyfri
05/16/2024, 4:40 PMAyfri
05/16/2024, 4:40 PMmbonnin
05/16/2024, 4:40 PMlouiscad
05/16/2024, 10:31 PMziv kesten
05/17/2024, 7:14 AMnmcp
as soon as i get my namespace verified! it seems to work very well on my test project 🙏ziv kesten
05/17/2024, 2:55 PMpublishing {
...
}
signing {
val keyId = findProperty("signing.keyId") as String
val password = findProperty("signing.password") as String
println("Key ID: $keyId") // prints correct key (last 8)
println("Password: $password") // prints correct passphrase
useInMemoryPgpKeys(keyId, password)
sign(publishing.publications)
}
nmcp {
publishAllPublications {
username = findProperty("SONATYPE_USER_NAME") as String
password = findProperty("SONATYPE_PASSWORD") as String
publicationType = "USER_MANAGED"
}
}
But ./gradlew publishAllPublicationsToCentralPortal
fails with
Execution failed for task ':exceptionCatcher:signReleasePublication'.
> Could not read PGP secret key
Am i missing something basic here? (AGP 8.4)CLOVIS
05/17/2024, 2:59 PM./gradlew publishToMavenLocal
and look into ~/.m2/repository
to see what is generated exactly, so you can try changing the config easilyCLOVIS
05/17/2024, 2:59 PMRobert Jaros
05/17/2024, 3:00 PMsigning.secretKeyRingFile
propertyCLOVIS
05/17/2024, 3:00 PMziv kesten
05/17/2024, 3:01 PMziv kesten
05/17/2024, 3:02 PMRobert Jaros
05/17/2024, 3:02 PM.gnupg
folder for years :-)ziv kesten
05/17/2024, 3:13 PMRobert Jaros
05/17/2024, 3:16 PMmbonnin
05/17/2024, 3:46 PMmbonnin
05/17/2024, 3:47 PMmbonnin
05/17/2024, 3:48 PMziv kesten
05/17/2024, 6:23 PMasciiArmoredKey
from a file like this:
signing {
val keyIdPath = findProperty("signing.keyIdPath") as String
val password = findProperty("signing.password") as String
val asciiArmoredKey: String = File(keyIdPath).readText()
useInMemoryPgpKeys(asciiArmoredKey, password)
sign(publishing.publications)
}
And together with the nmcp
plugin, everything works great! thank you! 🦜