diff --git a/BUILDING.md b/BUILDING.md deleted file mode 100644 index 70839190..00000000 --- a/BUILDING.md +++ /dev/null @@ -1,23 +0,0 @@ -# Building - -Building SteamWar.de software requires certain libraries, -which cannot be provided over traditional ways (like maven) -due to copyright issues with compiled Spigot packages. -For building these libraries have to be named in a lib -directory named like in the following list. -A subset of the following libraries is required to build this software -(this is the list for being able to build all SteamWar.de software): - - - BungeeCord.jar https://ci.md-5.net/job/BungeeCord/ - - BungeeTabListPlus.jar https://www.spigotmc.org/resources/bungeetablistplus.313/ - - PersistentBungeeCore.jar https://steamwar.de/devlabs/SteamWar/PersistentBungeeCore - - ProtocolLib.jar https://www.spigotmc.org/resources/protocollib.1997/ - - Spigot-1.8.jar https://hub.spigotmc.org/jenkins/job/BuildTools/ (1.8.9) - - Spigot-1.9.jar https://hub.spigotmc.org/jenkins/job/BuildTools/ (1.9.4) - - Spigot-1.10.jar https://hub.spigotmc.org/jenkins/job/BuildTools/ (1.10.2) - - Spigot-1.12.jar https://hub.spigotmc.org/jenkins/job/BuildTools/ (1.12.2) - - Spigot-1.14.jar https://hub.spigotmc.org/jenkins/job/BuildTools/ (1.14.4) - - Spigot-1.15.jar https://hub.spigotmc.org/jenkins/job/BuildTools/ (1.15.2) - - SpigotCore.jar https://steamwar.de/devlabs/SteamWar/SpigotCore - - WorldEdit-1.12.jar https://dev.bukkit.org/projects/worldedit/files (6.1.9) - - WorldEdit-1.15.jar https://dev.bukkit.org/projects/worldedit/files (newest) \ No newline at end of file diff --git a/build.gradle b/build.gradle index 7b1f7967..dd9ed88d 100644 --- a/build.gradle +++ b/build.gradle @@ -18,9 +18,8 @@ */ -import org.apache.tools.ant.taskdefs.condition.Os -import java.util.function.BiConsumer +import org.apache.tools.ant.taskdefs.condition.Os plugins { // Adding the base plugin fixes the following gradle warnings in IntelliJ: @@ -84,6 +83,10 @@ repositories { maven { url 'https://m2.dv8tion.net/releases' } + + maven { + url = uri('https://steamwar.de/maven') + } } dependencies { @@ -92,9 +95,8 @@ dependencies { annotationProcessor 'org.projectlombok:lombok:1.18.22' testAnnotationProcessor 'org.projectlombok:lombok:1.18.22' - compileOnly files("${projectDir}/lib/BungeeCord.jar") - compileOnly files("${projectDir}/lib/PersistentBungeeCore.jar") - compileOnly files("${projectDir}/lib/BungeeTabListPlus.jar") + compileOnly 'de.steamwar:waterfall:RELEASE' + compileOnly 'de.steamwar:persistentbungeecore:RELEASE' implementation("net.dv8tion:JDA:4.3.0_299") { exclude module: 'opus-java' }