Yes, I know the API is still in pieces and not officially supported. My question is in regards to when it is officially ready.
With Bukkit, libraries like SnakeYaml were simply shipped inside of the API; the result being that they could be used seamlessly in plugins, with only the Bukkit API as a build path reference or Maven dependency.
Right now, I just grabbed Guava and threw it in my build path, and all is good. However I am curious if I will have to keep using Guava as an external library, or if the Sponge API will eventually ship with it, or have some sort of hands off functionality like Maven.
Which brings me to Gradle. How exactly would I work Gradle into Eclipse? Is there an Eclipse plugin like there is for Maven, for Gradle? All Iāve seen is people effectively saying āEclipse Maven and XML are inferior and should be destroyed use IntelliJ and Gradle or you are a scrub lord of programmingā (might be exaggerating a bit but thatās kinda how it comes across to me). I would prefer to keep using Eclipse if possible.
I never heard or seen anyone who seriously argued that IntelliJ and Grade should destroy Eclipse and XML (what has one to do with the other anyway?). And even if somebody actually thinks so you are better of avoiding them because they did not understand what they where taking about. Eclipse, IntelliJ, Maven and Gradle are all tools that have specific advantages and disadvantages compared to each other, and determining what tool is best for a task depends from a lot of things including your personal experience. That said, there is of course a Gradle integration for eclipse. See here, first point.
For the dependencies, I am not aware of any official announcement expect that Forgeās libraries will available at runtime, see here.
Thank you. Destroyed wasnāt a term used by them, but thatās the sort of aura I got from reading the conversation. I thought it was⦠Interesting, yeah Iāll say that.
I donāt have anything against IntelliJ or its users, whatever flavor works for you is what works for you. Its when people say āno your IDE is garbage use this insteadā that I start to get a little annoyed.
We kinda hit on that in another thread, and @simon816 linked us to their library list in their Github, if thatās any use to you at all. Iām assuming that list implies that the libraries listed will be accessible from Sponge dependency, although I could be mistaken.
I think I need help⦠I tried to install the integration and Eclipse is saying it canāt reach it⦠Canāt tell if this is something on the marketplaceās end, or if its not supported for my version of Eclipse or what.
For my own Eclipse installation, instead of installing from the marketplace because I believe something there is broken, go to Help > Install New Software⦠Then hit add and use this link,
Then find the Eclipse Integration for Gradle, and install like normal. Then you can create and convert projects the same way as is possible with Maven.
Worked pretty well, though converting to Gradle made some things get a little wacky at first. And since my project was previously Maven, now m2e, and Gradle, are handling it so thatās a thing too.