Skip to content

Clean up build system #3084

@FranKusmiruk

Description

@FranKusmiruk

Description

Right now, our build scripts are a bit of a mess, they do work but there's a lot of inconsistencies and repeated code in them. I am creating this issue so I don't forget what needs a change and also to receive input on things we could potentially improve in the overall building system.

As of now, the following changes are needed:

  • Clean up the main build.gradle file:
    • Remove pointless usage of GStrings in some places.
    • Make the release tasks more object-oriented to avoid repeating code.
    • Remove uneeded repositories/dependencies.
    • Update dependencies (Probably make use of dependabot?)
    • Overall improvement of the code by making use of Groovy features.
    • Remove or update maven publish code. Consider making use of Github Packages as maven repository if we end up doing the latter.
  • Update gradle wrapper (could probably automate this).
  • Replace environment variables with configuration files or parametized tasks.
  • Replace bash scripts with gradle tasks.
  • Properly document or release cycle and any information needed for anyone to compile Skript.

Other things we may consider doing:

  • Either update ECJ and configure it properly or completely getting rid of it.
  • Target to newer Java versions.

That's basically all the issues I can recall as of now, if I forgot something or you have a suggestion, feel free to comment it here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    completedThe issue has been fully resolved and the change will be in the next Skript update.core taskTasks that may be handled only by the core developer team.enhancementFeature request, an issue about something that could be improved, or a PR improving something.priority: mediumIssues that are detrimental to user experience (prohibitive bugs or lack of useful implementation).

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions