Skip to content

Commit

Permalink
Remove specific dependency on Sponge API 8 in the mod info file (Luck…
Browse files Browse the repository at this point in the history
  • Loading branch information
lucko committed Sep 23, 2018
1 parent 1e7ef15 commit e2f1c1e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
3 changes: 2 additions & 1 deletion api/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ dependencies {
compileOnly 'org.checkerframework:checker-qual:2.5.5'
}

if (project.hasProperty('sonatypeUsername') && project.hasProperty('sonatypePassword')) {
// disabled by default
if (false && project.hasProperty('sonatypeUsername') && project.hasProperty('sonatypePassword')) {
apply plugin: 'signing'

javadoc {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
import org.spongepowered.api.event.Order;
import org.spongepowered.api.event.game.state.GamePreInitializationEvent;
import org.spongepowered.api.event.game.state.GameStoppingServerEvent;
import org.spongepowered.api.plugin.Dependency;
import org.spongepowered.api.plugin.Plugin;
import org.spongepowered.api.plugin.PluginContainer;
import org.spongepowered.api.profile.GameProfile;
Expand All @@ -71,7 +72,11 @@
version = "@version@",
authors = "Luck",
description = "A permissions plugin",
url = "https://github.com/lucko/LuckPerms"
url = "https://github.com/lucko/LuckPerms",
dependencies = {
// explicit dependency on spongeapi with no defined API version
@Dependency(id = "spongeapi")
}
)
public class LPSpongeBootstrap implements LuckPermsBootstrap {

Expand Down

0 comments on commit e2f1c1e

Please sign in to comment.