Skip to content

Commit

Permalink
Finish plugin setup
Browse files Browse the repository at this point in the history
  • Loading branch information
JRoy committed Dec 26, 2019
1 parent c65436d commit c01eaab
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 2 deletions.
1 change: 1 addition & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ repositories {

dependencies {
compileOnly "org.spigotmc:spigot-api:1.15.1-R0.1-SNAPSHOT"
compileOnly "net.md-5:bungeecord-api:1.15-SNAPSHOT"
compile 'fr.minuskube.inv:smart-invs:1.2.7'
compile 'co.aikar:taskchain-bukkit:3.7.2'
compile 'org.apache.commons:commons-dbcp2:2.7.0'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
package io.github.jroy.pluginlibrary;

import org.bukkit.Bukkit;
import org.bukkit.plugin.java.JavaPlugin;

public class PluginLibrary extends JavaPlugin {

@Override
public void onEnable() {
Bukkit.getLogger().info("PluginLibrary has been injected into the classpath!");
getLogger().info("PluginLibrary has been injected into the classpath!");
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
package io.github.jroy.pluginlibrary;

import net.md_5.bungee.api.plugin.Plugin;

public class ProxiedPluginLibrary extends Plugin {

@Override
public void onEnable() {
getLogger().info("PluginLibrary has been injected into the classpath!");
}
}
4 changes: 4 additions & 0 deletions src/main/resources/bungee.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
name: PluginLibrary
author: JRoy
version: 0.1
main: io.github.jroy.pluginlibrary.ProxiedPluginLibrary
5 changes: 5 additions & 0 deletions src/main/resources/plugin.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
name: PluginLibrary
author: JRoy
version: 0.1
api-version: 1.14
main: io.github.jroy.pluginlibrary.PluginLibrary

0 comments on commit c01eaab

Please sign in to comment.