Skip to content

Commit

Permalink
We don't have to relocate bstats
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim203 committed Aug 24, 2024
1 parent c72194c commit e719e83
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 6 deletions.
3 changes: 0 additions & 3 deletions core/common/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,6 @@ dependencies {

providedDependency(libs.slf4j)

// we're isolated but bstats doesn't know that
relocate("org.bstats")

tasks {
templateSources {
replaceToken("fullVersion", fullVersion())
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,8 @@ public final class Metrics {
logger::info,
Constants.DEBUG_MODE,
Constants.DEBUG_MODE,
Constants.DEBUG_MODE
Constants.DEBUG_MODE,
true // we're running isolated. No need to check for relocation
);

metricsBase.addCustomChart(
Expand Down
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ database-utils = "1.0-SNAPSHOT"
fastutil = "8.5.3"
cloud = "2.0.0-beta.2"
snakeyaml = "2.0"
bstats = "3.0.2"
bstats = "3.0.3"
adventure = "4.16.0"
adventure-platform = "4.3.2"

Expand Down
1 change: 0 additions & 1 deletion settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ rootProject.name = "floodgate-parent"

include(":api")
include(":universal")
//include(":database")
include(":isolation")

arrayOf("common", "netty4").forEach {
Expand Down

0 comments on commit e719e83

Please sign in to comment.