Skip to content

Commit

Permalink
build: update version to release
Browse files Browse the repository at this point in the history
  • Loading branch information
danorris709 committed Jul 20, 2021
1 parent 82d3f27 commit 51aa39c
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
7 changes: 4 additions & 3 deletions forge/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ dependencies {

shadow group: 'org.spongepowered', name: 'configurate-yaml', version: '4.0.0'

shadow group: 'com.github.Pixelmon-Development.API', name: 'commons', version: '0.1.8'
shadow group: 'com.github.Pixelmon-Development.API', name: 'forge', version: '0.1.8'
shadow group: 'com.github.Pixelmon-Development.API', name: 'commons', version: '0.1.9'
shadow group: 'com.github.Pixelmon-Development.API', name: 'forge', version: '0.1.9'

shadow project(':api')
}
Expand All @@ -55,7 +55,8 @@ shadowJar {
relocate('io.leangen.geantyref', 'com.envyful.holograms.forge.shade.geantyref')
relocate('com.google.gson', 'com.envyful.holograms.forge.shade.gson')
relocate('com.zaxxer', 'com.envyful.holograms.forge.shade.hikari')
relocate('comorg.slf4j', 'com.envyful.holograms.forge.shade.slf4j')
relocate('org.slf4j', 'com.envyful.holograms.forge.shade.slf4j')
relocate('com.envyful.api', 'com.envyful.holograms.forge.shade.envy.api')

exclude "**/module-info.class"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

import com.envyful.api.config.yaml.YamlConfigFactory;
import com.envyful.api.forge.command.ForgeCommandFactory;
import com.envyful.api.forge.concurrency.ForgeUpdateBuilder;
import com.envyful.holograms.api.hologram.Hologram;
import com.envyful.holograms.api.manager.HologramFactory;
import com.envyful.holograms.forge.command.HologramsCommand;
Expand All @@ -24,7 +25,7 @@
)
public class ForgeHolograms {

public static final String VERSION = "0.1.0";
public static final String VERSION = "0.2.0";

private static ForgeHolograms instance;

Expand All @@ -38,6 +39,14 @@ public void onServerStarting(FMLPreInitializationEvent event) {

this.loadConfig();
HologramManager.preInit();

ForgeUpdateBuilder.instance()
.name("AdvancedHolograms")
.requiredPermission("advancedholograms.update.notify")
.owner("Pixelmon-Development")
.repo("AdvancedHolograms")
.version(VERSION)
.start();
}

private void loadConfig() {
Expand Down

0 comments on commit 51aa39c

Please sign in to comment.