Slimefun / Slimefun4

Slimefun 4 - A unique Spigot/Paper plugin that looks and feels like a modpack. We've been giving you backpacks, jetpacks, reactors and much more since 2013.
GNU General Public License v3.0
964 stars 547 forks source link

Convert to Gradle Kotlin DSL #4175

Open md5sha256 opened 5 months ago

md5sha256 commented 5 months ago

Description

PoC of using Gradle as the buildscript

Proposed changes

Remove all maven buildscripts Use the gradle wrapper and the gradle Kotlin DSL for buildscripts Bumped minimum Java version to 17 due to dependency incompatibilities with Authlib being compiled against java 17.

Related Issues (if applicable)

Checklist

github-actions[bot] commented 5 months ago
Pro Tip! You can help us label your Pull Requests by using the following branch naming convention next time you create a pull request. ❤️ Branch naming convention Label
feature/** 🎈 Feature
fix/** ✨ Fix
chore/** 🧹 Chores
api/** 🔧 API
performance/** 💡 Performance Optimization
compatibility/** 🤝 Compatibility

If your changes do not fall into any of these categories, don't worry. You can just ignore this message in that case! 👀

github-actions[bot] commented 5 months ago

Slimefun preview build

A Slimefun preview build is available for testing! Commit: bfb6574f

https://preview-builds.walshy.dev/download/Slimefun/4175/bfb6574f

Note: This is not a supported build and is only here for the purposes of testing. Do not run this on a live server and do not report bugs anywhere but this PR!

md5sha256 commented 5 months ago

Noticed intellij has an error with ./gradlew clean build if ran from within the IDE. Possible fixes have something to do with re-specifying the javaagent. Running it via CLI is fine though.