diff --git a/build.gradle b/build.gradle index b2e355a4..984374c9 100644 --- a/build.gradle +++ b/build.gradle @@ -14,6 +14,17 @@ ext.disguisesVersion = '9.0.2' [compileJava, compileTestJava]*.options*.encoding = 'UTF-8' repositories { + mavenCentral() + + maven { + name 'Spigot' + url 'https://hub.spigotmc.org/nexus/content/groups/public/' + } + + maven { + url 'https://oss.sonatype.org/content/groups/public/' + } + maven { name 'dmulloy2-repo' url 'http://repo.dmulloy2.net/content/groups/public/' @@ -90,7 +101,8 @@ file('libs').mkdirs() ant.get src: 'http://server.o2gaming.com/downloads/spigot-1.9.jar', dest: file('libs'), verbose: false, skipexisting: true dependencies { + compile "org.spigotmc:spigot-api:$project.ext.spigotVersion" compile 'com.comphenix.protocol:ProtocolLib:3.7.0-SNAPSHOT' - compile name: 'spigot-1.9' + compile group: "spigot", name: 'spigot-1.9' testCompile group: 'junit', name: 'junit', version: '4.10' }