Open kolkov opened 8 years ago
The project looks not very popular :)
Please describe your purposes with this project.
Many projects on golang use third-party components from other languages. It would be convenient to use Gradle for assembly this projects.
You can use the built-in Gradle plugin in IntelliJ.
It's possible? Need nothing to change in golang plugin? I try to setup build.gradle in go project and get a message: "Cannot resolve symbol..." etc.
I try to setup Gradle project manually. My Gradle home is empty. ( Where can I find Gradle home for IDEA?
Many projects on golang use third-party components from other languages. It would be convenient to use Gradle for assembly this projects.
This is arguable. Usually such projects use a Makefile rather than Gradle (at least from what I've seen so far in major Go projects / following golang-nuts and other sources).
Another issue I see with the mentioned project is that it's not actively developed, it's an experiment and even when the project itself was created it was already requiring a version that was one year old (gradle 1.12 as opposed to say Gradle 2.x, currently 2.10).
@dlsniper Thanks! Make is better than Gradle for golang? https://plugins.gradle.org/plugin/org.golang.mobile.bind - but Gradle have Plugin for gomobile projects...
Make is better than Gradle for golang?
That I can't tell you. I guess it depends on the use case or personal taste. I've did a bit of search on golang-nuts and I've found:
For example:
It might be that most Go developers are reluctant to embrace complex tools such as Gradle or use Java which leads to this. Or it might be that there's no decent Gradle plugin for Go yet that could work out of the box and provide everything needed. As such, this might change in the future, who knows?
https://plugins.gradle.org/plugin/org.golang.mobile.bind - but Gradle have Plugin for gomobile projects...
Maybe that can be used as a template for a Gradle plugin for normal Go projects.
Thank you! I will try to look into this question. I think Gradle more powerful than Make. )
Just to add actual facts to the thread with projects that exists right now. 😄 See: https://github.com/echocat/gradle-golang-plugin
https://github.com/smartystreets/golang-gradle