Skip to content

Commit

Permalink
Change version to 0.1.0, add pdm
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnnyJayJay committed Jul 30, 2020
1 parent 775be24 commit 119bf21
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 7 deletions.
7 changes: 4 additions & 3 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
plugins {
java
id("com.github.johnrengelman.shadow") version "6.0.0"
kotlin("jvm") version "1.3.72"
id("me.bristermitten.pdm") version "0.0.1"
}

group = "com.github.johnnyjayjay"
version = "1.0"
version = "0.1.0"

repositories {
maven("https://hub.spigotmc.org/nexus/content/repositories/snapshots/")
Expand All @@ -16,7 +17,7 @@ repositories {

dependencies {
compileOnly("org.spigotmc:spigot:1.8.8-R0.1-SNAPSHOT")
implementation("com.github.johnnyjayjay:compatre:master-SNAPSHOT")
pdm("com.github.johnnyjayjay:compatre:master-SNAPSHOT")
}

tasks {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import com.github.johnnyjayjay.presents.command.*;
import com.github.johnnyjayjay.presents.conversation.StartPrompt;
import com.google.common.collect.ImmutableMap;
import me.bristermitten.pdm.PluginDependencyManager;
import org.bukkit.Bukkit;
import org.bukkit.configuration.ConfigurationSection;
import org.bukkit.configuration.serialization.ConfigurationSerialization;
Expand All @@ -15,12 +16,15 @@
*/
public class PresentPlugin extends JavaPlugin {

static {
private PresentLocations presentLocations;

@Override
public void onLoad() {
PluginDependencyManager dependencyManager = new PluginDependencyManager(this);
dependencyManager.loadAllDependencies().join();
NmsClassLoader.loadAllInClasspath();
}

private PresentLocations presentLocations;

@Override
public void onEnable() {
getLogger().info("Registering present serialisation...");
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/plugin.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
main: com.github.johnnyjayjay.presents.PresentPlugin
name: Presents
version: '1.0'
version: '0.1.0'

commands:
present:
Expand Down

0 comments on commit 119bf21

Please sign in to comment.