Update bStats because they deleted their old repo.

This commit is contained in:
Matthew Miller 2018-10-10 16:59:18 +10:00
parent 6ecbf19406
commit bf38b371d8
2 changed files with 6 additions and 8 deletions

View File

@ -4,14 +4,14 @@ apply plugin: 'maven'
repositories { repositories {
maven { url "https://hub.spigotmc.org/nexus/content/groups/public" } maven { url "https://hub.spigotmc.org/nexus/content/groups/public" }
maven { url "http://repo.bstats.org/content/repositories/releases/" } maven { url "https://jitpack.io" }
} }
dependencies { dependencies {
compile project(':worldedit-core') compile project(':worldedit-core')
compile 'com.sk89q:dummypermscompat:1.8' compile 'com.sk89q:dummypermscompat:1.8'
compile 'org.bukkit:bukkit:1.13-R0.1-SNAPSHOT' // zzz compile 'org.bukkit:bukkit:1.13-R0.1-SNAPSHOT' // zzz
compile 'org.bstats:bstats-bukkit:1.2' compile 'org.bstats.bStats-Metrics:bstats-bukkit:1.3'
testCompile 'org.mockito:mockito-core:1.9.0-rc1' testCompile 'org.mockito:mockito-core:1.9.0-rc1'
} }
@ -37,7 +37,7 @@ shadowJar {
dependencies { dependencies {
include(dependency(':worldedit-core')) include(dependency(':worldedit-core'))
relocate ("org.bstats", "com.sk89q.worldedit.bukkit.bstats") { relocate ("org.bstats", "com.sk89q.worldedit.bukkit.bstats") {
include(dependency("org.bstats:bstats-bukkit:1.2")) include(dependency("org.bstats:bstats-bukkit:1.3"))
} }
} }
} }

View File

@ -13,13 +13,13 @@ plugins {
} }
repositories { repositories {
maven { url "http://repo.bstats.org/content/repositories/releases/" } maven { url "https://jitpack.io" }
} }
dependencies { dependencies {
compile project(':worldedit-core') compile project(':worldedit-core')
compile 'org.spongepowered:spongeapi:7.0.0-SNAPSHOT' compile 'org.spongepowered:spongeapi:7.0.0-SNAPSHOT'
compile 'org.bstats:bstats-sponge:1.2' compile 'org.bstats.bStats-Metrics:bstats-sponge:1.3'
testCompile group: 'org.mockito', name: 'mockito-core', version:'1.9.0-rc1' testCompile group: 'org.mockito', name: 'mockito-core', version:'1.9.0-rc1'
} }
@ -42,9 +42,7 @@ jar {
shadowJar { shadowJar {
dependencies { dependencies {
include(dependency(':worldedit-core')) include(dependency(':worldedit-core'))
relocate ("org.bstats", "com.sk89q.worldedit.sponge.bstats") { include(dependency('org.bstats.bStats-Metrics:bstats-sponge:1.3'))
include(dependency("org.bstats:bstats-sponge:1.2"))
}
} }
} }