Archived
0

Remove any references to local files, fix build

This commit is contained in:
Dico200
2018-07-25 02:12:17 +01:00
parent 44587e49ff
commit c0e4ab728e
2 changed files with 11 additions and 4 deletions

View File

@@ -20,11 +20,14 @@ allprojects {
}
repositories {
mavenCentral()
mavenLocal()
maven("https://dl.bintray.com/kotlin/exposed")
maven("https://hub.spigotmc.org/nexus/content/repositories/snapshots")
maven("https://hub.spigotmc.org/nexus/content/repositories/sonatype-nexus-snapshots")
}
dependencies {
compile(files("${rootProject.rootDir.parentFile}/res/spigot-1.13-pre7.jar"))
val spigotVersion = "1.13-R0.1-SNAPSHOT"
compile("org.bukkit:bukkit:$spigotVersion")
compile("org.spigotmc:spigot-api:$spigotVersion")
compile("net.sf.trove4j:trove4j:3.0.3")
testCompile("junit:junit:4.12")
}
@@ -37,6 +40,10 @@ project(":dicore3:dicore3-command") {
}
}
repositories {
maven("https://dl.bintray.com/kotlin/exposed")
}
dependencies {
compile(project(":dicore3:dicore3-core"))
compile(project(":dicore3:dicore3-command"))

View File

@@ -17,7 +17,7 @@ public class InventoryEventUtil {
}
public static ItemStack getNewItem(InventoryClickEvent event) {
Inventory clicked = event.getClickedInventory();
Inventory clicked = event.getInventory();
switch (event.getAction()) {
case SWAP_WITH_CURSOR:
case PLACE_ALL: