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" }
|
2022-04-23 03:50:11 +02:00
|
|
|
maven { url 'https://papermc.io/repo/repository/maven-public/' }
|
2021-05-25 02:32:22 +02:00
|
|
|
maven { url "https://nexus.velocitypowered.com/repository/maven-public/" }
|
|
|
|
}
|
|
|
|
|
|
|
|
// includeLibs just says to include the library in the final jar
|
|
|
|
dependencies {
|
|
|
|
implementation project(":core")
|
|
|
|
|
2022-04-23 03:50:11 +02:00
|
|
|
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)
|
|
|
|
}
|
|
|
|
}
|