mirror of
https://github.com/sekwah41/Advanced-Portals.git
synced 2024-11-22 02:25:49 +01:00
30 lines
731 B
Groovy
30 lines
731 B
Groovy
// Check the root build.gradle under allprojects for common settings
|
|
|
|
configurations {
|
|
// configuration that holds jars to copy into lib
|
|
includeLibs
|
|
}
|
|
|
|
repositories {
|
|
maven { url "https://repo.maven.apache.org/maven2" }
|
|
maven {
|
|
name 'papermc'
|
|
url 'https://repo.papermc.io/repository/maven-public/'
|
|
}
|
|
}
|
|
|
|
// includeLibs just says to include the library in the final jar
|
|
dependencies {
|
|
implementation project(":proxycore")
|
|
implementation project(":core")
|
|
|
|
implementation("com.velocitypowered:velocity-api:3.1.0")
|
|
annotationProcessor("com.velocitypowered:velocity-api:3.1.0")
|
|
}
|
|
|
|
jar {
|
|
from configurations.includeLibs.collect {
|
|
it.isDirectory() ? it : zipTree(it)
|
|
}
|
|
}
|