2021-05-22 01:58:51 +02:00
|
|
|
|
2022-04-23 03:31:37 +02:00
|
|
|
// Check the root build.gradle under allprojects for common settings
|
2021-05-22 01:58:51 +02:00
|
|
|
configurations {
|
|
|
|
// configuration that holds jars to copy into lib
|
|
|
|
includeLibs
|
|
|
|
}
|
|
|
|
|
|
|
|
repositories {
|
|
|
|
maven { url "https://repo.maven.apache.org/maven2" }
|
|
|
|
maven { url "https://hub.spigotmc.org/nexus/content/repositories/snapshots/" }
|
2022-04-23 03:31:37 +02:00
|
|
|
maven { url 'https://papermc.io/repo/repository/maven-public/' }
|
2021-05-22 01:58:51 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
// includeLibs just says to include the library in the final jar
|
|
|
|
dependencies {
|
|
|
|
implementation project(":core")
|
|
|
|
|
2023-05-14 22:12:18 +02:00
|
|
|
|
2021-05-22 01:58:51 +02:00
|
|
|
// For spigot api
|
2023-05-14 22:12:18 +02:00
|
|
|
// We are using an older version to try and ensure that we are not using anything new older versions cant use.
|
|
|
|
implementation "org.spigotmc:spigot-api:1.13-R0.1-SNAPSHOT"
|
2022-04-23 03:31:37 +02:00
|
|
|
implementation "net.md-5:bungeecord-api:1.16-R0.4"
|
2023-12-10 13:00:19 +01:00
|
|
|
implementation "com.mojang:authlib:3.5.41"
|
2024-05-12 14:36:37 +02:00
|
|
|
implementation "com.google.inject:guice:5.0.1"
|
2023-04-12 16:24:05 +02:00
|
|
|
// Be careful to only use what you need to from paper, otherwise it will become incompatible with spigot.
|
|
|
|
//compileOnly 'com.destroystokyo.paper:paper-api:1.16.5-R0.1-SNAPSHOT'
|
2021-05-22 01:58:51 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
jar {
|
|
|
|
from configurations.includeLibs.collect {
|
|
|
|
it.isDirectory() ? it : zipTree(it)
|
|
|
|
}
|
|
|
|
}
|