add fast stats as a dependency

This commit is contained in:
alexcrea 2026-03-02 20:42:50 +01:00
parent 5ff096190f
commit d037263e3f
Signed by: alexcrea
GPG key ID: E346CD16413450E3
2 changed files with 13 additions and 2 deletions

View file

@ -13,6 +13,7 @@ Here dependencies are used by custom anvil
- [modrinth-publish](https://github.com/cloudnode-pro/modrinth-publish) by Zefir
- [discord-webhook](https://github.com/tsickert/discord-webhook) by tsickert
- Thanks [bstats](https://bstats.org/) for keeping me motivated
- And [FastStats](https://faststats.dev/) alternative to bstats in beta test
- [ModrinthUpdateChecker](https://github.com/Clickism/ModrinthUpdateChecker) by Clickism and thanks to the modrinth team
### Compatibility

View file

@ -36,6 +36,12 @@ repositories {
// ExcellentEnchants
maven(url = "https://repo.nightexpressdev.com/releases")
// for fast stats
maven {
name = "thenextlvlReleases"
url = uri("https://repo.thenextlvl.net/releases")
}
}
val reobfNMS = providers.gradleProperty("subprojects.reobfnms")
@ -45,6 +51,9 @@ dependencies {
// Spigot api
compileOnly("org.spigotmc:spigot-api:1.18-R0.1-SNAPSHOT")
// fast stats
implementation("dev.faststats.metrics:bukkit:0.16.0")
// minimessage
implementation("net.kyori:adventure-text-minimessage:4.25.0")
@ -132,7 +141,7 @@ allprojects {
// Set target version
tasks.withType<JavaCompile>().configureEach {
sourceCompatibility =
"16" // We aim for java 16 for minecraft 1.16.5. even if it not really suported by custom anvil.
"16" // We aim for java 16 for minecraft 1.16.5. even if it not really supported by custom anvil.
targetCompatibility = "16"
options.encoding = "UTF-8"
@ -156,7 +165,8 @@ tasks {
archiveFileName.set(name)
// Shadow necessary dependency
relocate("com.github.stefvanschie.inventoryframework", "xyz.alexcrea.inventoryframework")
relocate("com.github.stefvanschie.inventoryframework", "xyz.alexcrea.customanvil.inventoryframework")
relocate("dev.faststats", "xyz.alexcrea.customanvil.faststats")
filesMatching("plugin.yml") {
expand(