I can't remember the Gradle Jira issue I found this on, but the following
snippet of dependencies accomplishes the same as the maven version you
posted:

    compile(group: 'javax.validation', name: 'validation-api', version:
'1.0.0.GA') {
        artifact {
            name = "validation-api"
            type = 'jar'
        }
        artifact {
            name = "validation-api"
            classifier = 'sources'
            type = 'jar'
        }
    }

I found, like you, that without the specifics, only one of the jars was
actually being included. Hope that helps - cheers!

--
View this message in context: 
http://gradle.1045684.n5.nabble.com/Source-jar-on-classpath-for-GWT-tp4666458p4667675.html
Sent from the gradle-user mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to