2021-05-25 02:32:22 +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/" }
|
|
|
|
}
|
|
|
|
|
|
|
|
// includeLibs just says to include the library in the final jar
|
|
|
|
dependencies {
|
|
|
|
implementation project(":core")
|
|
|
|
|
|
|
|
// For spigot api
|
2021-05-24 01:19:12 +02:00
|
|
|
implementation "org.spigotmc:spigot-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)
|
|
|
|
}
|
|
|
|
}
|