echocat / gradle-golang-plugin

Gradle plugin to build, test and do other stuff of Golang projects.
https://github.com/echocat/gradle-golang-plugin
Mozilla Public License 2.0
44 stars 8 forks source link

How to disable dependency downloading? #28

Open m0j0hn opened 7 years ago

m0j0hn commented 7 years ago

We are using Glide (github.com/Masterminds/glide) to manage dependencies and populate our vendor/ directory, so we do not need gradle-golang-plugin to do this.

How can we suppress gradle-golang-plugin from trying to download dependencies which can be found in the vendor directory?

Or, let me ask this another way: Can we make gradle-golang-plugin search vendor/ directory for dependencies before attempting to download them? That is, if they are found in vendor/ , then do not attempt to download them?

Please comment if this is new functionality and requires development, we are open to that possibility.

Thanks!