minecraft-dev / MinecraftDev

Plugin for IntelliJ IDEA that gives special support for Minecraft modding projects.
https://minecraftdev.org/
GNU Lesser General Public License v3.0
1.52k stars 186 forks source link

Projects created using SBT are not recognized as Sponge plugins #44

Closed Katrix closed 7 years ago

Katrix commented 8 years ago

As said, if a project is created using SBT, it isn't recognized. Only tested with Sponge. Don't know how it is for others.

gabizou commented 8 years ago

Is it possible for you to use sbt with ForgeGradle?

Katrix commented 8 years ago

Don't think so, so it shouldn't be a problem for Forge at least

DenWav commented 8 years ago

Yep, looks like even when doing Scala work with Forge you still use Gradle. http://www.minecraftforge.net/wiki/Scala

DenWav commented 8 years ago

Right now I think I'm going to file this under if people really want this added, it can be PR'ed, or some of the grunt work can be done beforehand for us. We were never intending to support SBT, but I have no issues supporting it, I'm just not sure I want to put the effort into adding support for it currently. If someone wanted to add in the SBT build system to the plugin I would be more than happy to merge that PR.

This plugin uses a BuildSystem API that I built, which is implemented by the MavenBuildSystem and GradleBuildSystem classes. I feel like these are decent enough examples to look at how to add a new build system to the plugin, if someone wanted to give it a shot. I can always answer any questions that may arise, though.

DenWav commented 7 years ago

Due to that commit, once feature/facets is merged, SBT will be fully supported. Not actually something that was intended with that feature branch, but a happy by-product of it. @Katrix-

DenWav commented 7 years ago

Fixed in #170.