Build from source failed - 'No such property: sonatypeUsername'

828 views
Skip to first unread message

Marcin Gryszko

unread,
Jul 4, 2013, 8:30:30 AM7/4/13
to gmoc...@googlegroups.com
I downloaded the source code of GMock and tried to compile and execute tests by issuing running command (since test is the default task).

I got an error message:

"No such property: sonatypeUsername for class: org.gradle.api.publication.maven.internal.ant.DefaultGroovyMavenDeployer"

on line 124 of build.gradle

I'm using gradle 1.6 installed through gvm.

Any clue?

Johnny Jian

unread,
Jul 4, 2013, 10:23:18 AM7/4/13
to gmoc...@googlegroups.com
Hi Marcin,

You can comment that line, or create a "gradle.properties" file in "~/.gradle" with the following contents:

sonatypeUsername=
sonatypePassword=

Johnny


--
You received this message because you are subscribed to the Google Groups "gmock-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gmock-dev+...@googlegroups.com.
To post to this group, send email to gmoc...@googlegroups.com.
Visit this group at http://groups.google.com/group/gmock-dev.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply all
Reply to author
Forward
0 new messages