spbp / api-plugin-boilerplate

Advanced Template for Sponge Plugins with a separate API
MIT License
1 stars 0 forks source link

Create a setup script #10

Open boformer opened 9 years ago

boformer commented 9 years ago

It would be great to have a script that modifies the boilerplate for you.

Maybe similar to the installer of libgdx that also uses Gradle: https://github.com/libgdx/libgdx/wiki/Project-Setup-Gradle

At least we should provide a simple batch script for Windows and Linux that renames the folders, packages and modifies the build script.

An advanced customizer (choose between single- and multiproject) would also resolve https://github.com/boformer/sponge-boilerplate/issues/9

boformer commented 9 years ago

This is the source of the setup script (with GUI) of libgdx: https://github.com/libgdx/libgdx/tree/master/extensions/gdx-setup

TBotV63 commented 9 years ago

Are you already on it? Otherwise I could take a loom at doing that.

boformer commented 9 years ago

No, I'm busy with my math exam right now ;)

Work on it if you want. Accept the invitation I sent you and create a new branch in the multiproject-boilerplate repo.

TBotV63 commented 9 years ago

Okay, I'll look into it when I have time :D

boformer commented 9 years ago

I think we should keep 2 separate projects (simple and multiproject) for now.

The multiproject customizer can also include a bukkit option, so we will need a sample bukkit plugin.

TBotV63 commented 9 years ago

sure we want to create Bukkit templates? Also, there are significant differences between how they work... (well, not that much actually)

boformer commented 9 years ago

Well, what would be the downside of a boilerplate-bukkit gradle subproject? Bukkit even has a ServiceManager ;)

TBotV63 commented 9 years ago

It would be more to maintain... :P

boformer commented 9 years ago

I created a separate repository for the setup: https://github.com/spbp/boilerplate-setup