BuildCraft|Core

BuildCraft|Core

7M Downloads

Move API to a separate repository

CovertJaguar opened this issue ยท 8 comments

commented

This greatly simplified things for anyone using the API and also helps keep things like licensing and histories separate.

Than anyone wishing to depend on it can simple just add the api repo as a submodule.

commented

Created in https://github.com/BuildCraft/BuildCraftAPI. Let me know if there are any issues with the way it has been split up

commented

Looks fine.

commented

This is next.

commented

How will this be affected by modulizing Buildcraft?

commented

Is really separating repositories good idea? Now with gradle separate project can be created in one repository, API only artifacts can be published and so on. The gitsubmodules are messy and unintuitive. Synchronous commits and PR will be necessary.

commented

API artifacts have been published for years. I guess you're right - I also have issues with having more repositories than the three I already do (main, localization + compat), and Gradle works well enough. @CovertJaguar - what do you think?

commented

@asiekierka the project (in gradle) can be spitted to API and modules. This would enforce clear chain of dependencies.

commented

Splitting it off is imo the best thing to do. It allows people to quickly look at the history to see if it changed and it also makes it easier for other projects to interface with the API (by linking as a submodule).

Additionally, I'm of the personal opinion that projects with different licensing terms should not be under the same repository.