reordering the dependency fixed it...? whatever
This commit is contained in:
parent
134daefa24
commit
78e795d21a
|
@ -34,4 +34,3 @@ wiki_permissions.md
|
|||
/textures
|
||||
*.iml
|
||||
/obj
|
||||
*.jar
|
|
@ -94,10 +94,10 @@ subprojects {
|
|||
}
|
||||
|
||||
repositories {
|
||||
maven {url "https://mvnrepository.com/artifact/"}
|
||||
mavenCentral()
|
||||
maven {url "http://repo.dmulloy2.net/content/groups/public/"}
|
||||
maven {url "https://repo.destroystokyo.com/repository/maven-public//"}
|
||||
maven { url = "https://mvnrepository.com/artifact/"}
|
||||
maven {url "http://ci.emc.gs/nexus/content/groups/aikar/" }
|
||||
maven {url "http://ci.mengcraft.com:8080/plugin/repository/everything"}
|
||||
maven {url "http://ci.athion.net/job/PlotSquared/ws/mvn/"}
|
||||
|
|
|
@ -81,6 +81,14 @@ public class BStats implements Closeable {
|
|||
this.online = online;
|
||||
|
||||
File configFile = new File(getJarFile().getParentFile(), "bStats" + File.separator + "config.yml");
|
||||
if (!configFile.exists()) {
|
||||
configFile.getParentFile().mkdirs();
|
||||
try {
|
||||
configFile.createNewFile();
|
||||
} catch (IOException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
|
||||
YamlConfiguration config = YamlConfiguration.loadConfiguration(configFile);
|
||||
|
||||
|
|
|
@ -45,6 +45,7 @@ dependencies {
|
|||
compile 'org.spongepowered:spongeapi:7.1.0-SNAPSHOT'
|
||||
compile name: 'worldedit-sponge-6.1.9-SNAPSHOT-dist'
|
||||
compile name: 'worldedit-core-6.1.9-SNAPSHOT-dist'
|
||||
compile 'org.yaml:snakeyaml:1.18'
|
||||
}
|
||||
|
||||
minecraft {
|
||||
|
@ -67,12 +68,12 @@ shadowJar {
|
|||
relocate 'org.yaml.snakeyaml', 'com.boydti.fawe.yaml'
|
||||
dependencies {
|
||||
include(dependency(':core'))
|
||||
include(dependency('org.yaml:snakeyaml:1.18'))
|
||||
include(dependency('com.github.luben:zstd-jni:1.1.1'))
|
||||
// include(dependency('org.javassist:javassist:3.22.0-CR1'))
|
||||
include(dependency('co.aikar:fastutil-lite:1.0'))
|
||||
include(dependency(name: 'worldedit-sponge-6.1.9-SNAPSHOT-dist'))
|
||||
include(dependency(name: 'worldedit-core-6.1.9-SNAPSHOT-dist'))
|
||||
include(dependency('com.sk89q.worldedit:worldedit-sponge:6.1.9-SNAPSHOT'))
|
||||
include(dependency('org.yaml:snakeyaml:1.16'))
|
||||
}
|
||||
archiveName = "${parent.name}-${project.name}-${parent.version}.jar"
|
||||
destinationDir = file '../target'
|
||||
|
|
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue