[FIXED] Properties usage from gradle.properties and command line in maven publish plugin

(zunkree) #1

It was misconfiguration, fixed.

Hi. Could you please help me? I’m trying to publish some python script into maven repo with such code:


when I run:

gradle publish -PmavenUsername=username -PmavenPassword=password

all works fine. But when I put this properties into gradle.properties publishing is fail.
How I can use gradle.properties to pass this properties into maven publishing?