File tree Expand file tree Collapse file tree 5 files changed +14
-16
lines changed
src/main/java/com/dscalzi/skychanger/sponge Expand file tree Collapse file tree 5 files changed +14
-16
lines changed Original file line number Diff line number Diff line change 1
1
repositories {
2
2
mavenCentral()
3
- maven { url " https://hub.spigotmc.org/nexus/content/repositories/snapshots/" }
4
- maven { url = ' https://oss.sonatype.org/content/repositories/snapshots' }
5
- maven { url " http ://repo.bstats .org/content/repositories/releases/ " }
3
+ maven { url ' https://hub.spigotmc.org/nexus/content/repositories/snapshots/' }
4
+ maven { url ' https://oss.sonatype.org/content/repositories/snapshots' }
5
+ maven { url ' https ://repo.codemc .org/repository/maven-public ' }
6
6
}
7
7
8
8
dependencies {
9
- compile ' org.bstats:bstats-bukkit:1.2 '
10
- compileOnly ' org.spigotmc:spigot-api:1.12 .2-R0.1-SNAPSHOT'
9
+ compile ' org.bstats:bstats-bukkit:1.4 '
10
+ compileOnly ' org.spigotmc:spigot-api:1.13 .2-R0.1-SNAPSHOT'
11
11
}
12
12
13
13
shadowJar {
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ author: Daniel Scalzi
26
26
description : Spigot plugin to change the color of the sky in your Minecraft world.
27
27
main : com.dscalzi.skychanger.bukkit.SkyChangerPlugin
28
28
name : SkyChanger
29
- version : 2.0.0
29
+ version : 2.0.1
30
30
api-version : 1.13
31
31
commands :
32
32
skychanger :
Original file line number Diff line number Diff line change @@ -32,12 +32,12 @@ sponge {
32
32
}
33
33
34
34
repositories {
35
- maven { url " http ://repo.bstats .org/content/repositories/releases/ " }
35
+ maven { url ' https ://repo.codemc .org/repository/maven-public ' }
36
36
}
37
37
38
38
dependencies {
39
- compile ' org.bstats:bstats-sponge:1.2 '
40
- compileOnly ' org.spongepowered:spongeapi:7.0 .0'
39
+ compile ' org.bstats:bstats-sponge:1.4 '
40
+ compileOnly ' org.spongepowered:spongeapi:7.1 .0'
41
41
}
42
42
43
43
shadowJar {
@@ -46,8 +46,6 @@ shadowJar {
46
46
47
47
classifier ' dist'
48
48
49
- relocate ' org.bstats' , ' com.dscalzi.skychanger.sponge.lib.org.bstats'
50
-
51
49
exclude ' dummyThing'
52
50
afterEvaluate {
53
51
from zipTree(reobfJar. jar)
Original file line number Diff line number Diff line change 28
28
import java .util .Arrays ;
29
29
import java .util .Optional ;
30
30
31
- import org .bstats .sponge .Metrics ;
31
+ import org .bstats .sponge .Metrics2 ;
32
32
import org .slf4j .Logger ;
33
33
import org .spongepowered .api .Game ;
34
34
import org .spongepowered .api .Sponge ;
@@ -61,7 +61,7 @@ public class SkyChangerPlugin {
61
61
@ Inject private PluginContainer plugin ;
62
62
@ Inject private Logger logger ;
63
63
@ Inject private Game game ;
64
- @ Inject private Metrics metrics ;
64
+ @ Inject private Metrics2 metrics ;
65
65
66
66
@ Inject
67
67
@ DefaultConfig (sharedRoot = false )
@@ -123,7 +123,7 @@ public void onGamePreInitialization(GamePreInitializationEvent e){
123
123
124
124
@ Listener
125
125
public void onServerStart (GameStartedServerEvent event ) {
126
- metrics .addCustomChart (new Metrics .SimplePie ("used_language" ,
126
+ metrics .addCustomChart (new Metrics2 .SimplePie ("used_language" ,
127
127
() -> MessageManager .Languages .getByID (ConfigManager .getInstance ().getLanguage ()).getReadable ()));
128
128
}
129
129
Original file line number Diff line number Diff line change @@ -26,8 +26,8 @@ subprojects {
26
26
27
27
def major = ' 2'
28
28
def minor = ' 0'
29
- def spongeRevision = ' 0 '
30
- def bukkitRevision = ' 0 '
29
+ def spongeRevision = ' 1 '
30
+ def bukkitRevision = ' 1 '
31
31
32
32
version = " ${ major} .${ minor} .${ project.name.endsWith('Sponge') ? spongeRevision : bukkitRevision} "
33
33
You can’t perform that action at this time.
0 commit comments