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 - [modrinth-publish](https://github.com/cloudnode-pro/modrinth-publish) by Zefir
- [discord-webhook](https://github.com/tsickert/discord-webhook) by tsickert - [discord-webhook](https://github.com/tsickert/discord-webhook) by tsickert
- Thanks [bstats](https://bstats.org/) for keeping me motivated - 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 - [ModrinthUpdateChecker](https://github.com/Clickism/ModrinthUpdateChecker) by Clickism and thanks to the modrinth team
### Compatibility ### Compatibility

View file

@ -36,6 +36,12 @@ repositories {
// ExcellentEnchants // ExcellentEnchants
maven(url = "https://repo.nightexpressdev.com/releases") 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") val reobfNMS = providers.gradleProperty("subprojects.reobfnms")
@ -45,6 +51,9 @@ dependencies {
// Spigot api // Spigot api
compileOnly("org.spigotmc:spigot-api:1.18-R0.1-SNAPSHOT") compileOnly("org.spigotmc:spigot-api:1.18-R0.1-SNAPSHOT")
// fast stats
implementation("dev.faststats.metrics:bukkit:0.16.0")
// minimessage // minimessage
implementation("net.kyori:adventure-text-minimessage:4.25.0") implementation("net.kyori:adventure-text-minimessage:4.25.0")
@ -132,7 +141,7 @@ allprojects {
// Set target version // Set target version
tasks.withType<JavaCompile>().configureEach { tasks.withType<JavaCompile>().configureEach {
sourceCompatibility = 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" targetCompatibility = "16"
options.encoding = "UTF-8" options.encoding = "UTF-8"
@ -156,7 +165,8 @@ tasks {
archiveFileName.set(name) archiveFileName.set(name)
// Shadow necessary dependency // 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") { filesMatching("plugin.yml") {
expand( expand(