mirror of
https://github.com/BlueMap-Minecraft/BlueMap.git
synced 2024-12-26 02:48:12 +01:00
Remove wrong dependency and include bStats to SpongePlugin
This commit is contained in:
parent
8c90b3a38e
commit
731c31e601
@ -7,7 +7,6 @@ dependencies {
|
||||
compile 'ninja.leaping.configurate:configurate-hocon:3.3'
|
||||
compile 'ninja.leaping.configurate:configurate-gson:3.3'
|
||||
compile 'com.github.Querz:NBT:4.0'
|
||||
compile group: 'commons-cli', name: 'commons-cli', version: '1.4'
|
||||
}
|
||||
|
||||
task zipWebroot(type: Zip) {
|
||||
|
@ -1,4 +1,5 @@
|
||||
dependencies {
|
||||
shadow "org.spongepowered:spongeapi:7.2.0-SNAPSHOT"
|
||||
compile group: 'org.bstats', name: 'bstats-sponge-lite', version: '1.5'
|
||||
compile project(':BlueMapCore')
|
||||
}
|
||||
}
|
@ -34,6 +34,7 @@
|
||||
|
||||
import javax.inject.Inject;
|
||||
|
||||
import org.bstats.sponge.MetricsLite2;
|
||||
import org.spongepowered.api.Sponge;
|
||||
import org.spongepowered.api.config.ConfigDir;
|
||||
import org.spongepowered.api.event.Listener;
|
||||
@ -81,6 +82,10 @@ public class SpongePlugin {
|
||||
@ConfigDir(sharedRoot = false)
|
||||
private Path configurationDir;
|
||||
|
||||
@SuppressWarnings("unused")
|
||||
@Inject
|
||||
private MetricsLite2 metrics;
|
||||
|
||||
private ConfigurationFile config;
|
||||
private ResourcePack resourcePack;
|
||||
|
||||
|
@ -13,6 +13,10 @@ allprojects {
|
||||
name 'sponge'
|
||||
url 'http://repo.spongepowered.org/maven'
|
||||
}
|
||||
maven {
|
||||
name 'CodeMC'
|
||||
url 'https://repo.codemc.org/repository/maven-public'
|
||||
}
|
||||
}
|
||||
|
||||
compileJava.options.compilerArgs.add '-parameters'
|
||||
|
Loading…
Reference in New Issue
Block a user