Advanced-Portals/velocity/build.gradle

30 lines
731 B
Groovy
Raw Permalink Normal View History

2021-05-25 02:32:22 +02:00
// 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" }
2024-11-13 12:02:01 +01:00
maven {
name 'papermc'
url 'https://repo.papermc.io/repository/maven-public/'
}
2021-05-25 02:32:22 +02:00
}
// includeLibs just says to include the library in the final jar
dependencies {
2024-11-13 12:02:01 +01:00
implementation project(":proxycore")
2021-05-25 02:32:22 +02:00
implementation project(":core")
implementation("com.velocitypowered:velocity-api:3.1.0")
annotationProcessor("com.velocitypowered:velocity-api:3.1.0")
2021-05-25 02:32:22 +02:00
}
jar {
from configurations.includeLibs.collect {
it.isDirectory() ? it : zipTree(it)
}
}