From 0b79bb5d062dd47e3e3056d8da33fc9c759441fa Mon Sep 17 00:00:00 2001 From: NavidK0 Date: Tue, 26 Jan 2016 22:55:16 -0500 Subject: [PATCH] Changed dependencies from file to proper dependencies, also added flatDir to repository block. --- build.gradle | 13 +++++++------ src/main/resources/plugin.yml | 2 +- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/build.gradle b/build.gradle index 45feb919..c835feae 100644 --- a/build.gradle +++ b/build.gradle @@ -23,14 +23,17 @@ repositories { } maven { - name 'Vault-Repo' - url 'http://nexus.theyeticave.net/content/repositories/pub_releases' + url 'https://oss.sonatype.org/content/groups/public/' } maven { name 'dmulloy2-repo' url 'http://repo.dmulloy2.net/content/groups/public/' } + + flatDir { + dir 'libs' + } } task sourceJar(type: Jar, dependsOn: classes) { @@ -95,10 +98,8 @@ file('libs').mkdirs() ant.get src: 'https://www.dropbox.com/s/1ofgubrldjwamnk/spigot.jar?dl=1', dest: file('libs'), verbose: false, skipexisting: true dependencies { - compile 'org.bukkit:bukkit:' + project.ext.spigotVersion + compile "org.spigotmc:spigot-api:$project.ext.spigotVersion" compile 'com.comphenix.protocol:ProtocolLib:3.6.5-SNAPSHOT' - compile files( - 'libs/spigot.jar' - ) + compile name: 'spigot' testCompile group: 'junit', name: 'junit', version: '4.10' } diff --git a/src/main/resources/plugin.yml b/src/main/resources/plugin.yml index e740d1c1..00052701 100644 --- a/src/main/resources/plugin.yml +++ b/src/main/resources/plugin.yml @@ -3,7 +3,7 @@ main: me.libraryaddict.disguise.LibsDisguises version: 8.6.8 author: libraryaddict authors: [Byteflux, Navid K.] -depend: [ProtocolLib] +softdepend: [ProtocolLib] commands: libsdisguises: permission: libsdisguises.seecmd.libsdisguises