Ascension/bukkit/build.gradle
2021-07-29 16:15:21 +03:00

39 lines
1023 B
Groovy

apply from: rootProject.file('buildscript/runtime.gradle')
allprojects {
repositories {
maven { url 'https://papermc.io/repo/repository/maven-public/' }
}
dependencies {
// API
annotationProcessor project(':api')
// Platform
compileOnly 'com.destroystokyo.paper:paper-api:1.16.5-R0.1-SNAPSHOT'
}
}
dependencies {
// Common
implementation project(':common:common-server')
// DependencyDownload
implementation 'dev.vankka.minecraftdependencydownload:bukkit:' + rootProject.mddVersion
// Adventure
runtimeDownloadApi 'net.kyori:adventure-platform-bukkit:' + rootProject.adventurePlatformVersion
runtimeDownloadApi 'net.kyori:adventure-text-serializer-craftbukkit:' + rootProject.adventurePlatformVersion
}
shadowJar {
archiveFileName = 'bukkit.jarinjar'
[
'net.kyori.adventure'
].each {
relocate it, 'com.discordsrv.dependencies.' + it
}
// More relocations in buildscript/relocations.gradle
}