Skip to content

Commit

Permalink
fix(deps): don't provide Minestom to dependents
Browse files Browse the repository at this point in the history
  • Loading branch information
LooFifteen committed Jun 10, 2024
1 parent 9c09f54 commit 24be483
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion minestom/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ dependencies {
exclude group: "org.spongepowered", module: "configurate-hocon"
exclude group: "me.lucko.configurate", module: "configurate-toml"
}
compileOnlyApi("net.minestom:minestom-snapshots:1_20_5-b04ef5189f")
compileOnly "net.minestom:minestom-snapshots:1c528d8ae2"

// testing
testImplementation project(":common")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@ public static void main(String[] args) throws IOException {
LuckPerms luckPerms = LuckPermsMinestom.builder(directory)
.commands(true)
.contextProvider(new DummyContextProvider())
.configurationAdapter(plugin -> new MultiConfigurationAdapter(plugin, List.of(
.configurationAdapter(plugin -> new MultiConfigurationAdapter(plugin,
new EnvironmentVariableConfigAdapter(plugin),
new HoconConfigurationAdapter(plugin)
))).permissionSuggestions("test.permission", "test.other")
)).permissionSuggestions("test.permission", "test.other")
.dependencyManager(true)
.enable();

Expand Down

0 comments on commit 24be483

Please sign in to comment.