mirror of
https://github.com/DiscordSRV/Ascension.git
synced 2024-12-28 17:37:52 +01:00
39 lines
999 B
Groovy
39 lines
999 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
|
|
compileOnly project(':common:common-server')
|
|
implementation project(path: ':common:common-server', configuration: 'runtimeElements')
|
|
|
|
// DependencyDownload
|
|
implementation 'dev.vankka.minecraftdependencydownload:bukkit:' + rootProject.mddVersion
|
|
|
|
// Adventure
|
|
runtimeDownloadApi 'net.kyori:adventure-platform-bukkit:' + rootProject.adventurePlatformVersion
|
|
}
|
|
|
|
shadowJar {
|
|
archiveFileName = 'bukkit.jarinjar'
|
|
|
|
[
|
|
'net.kyori.adventure'
|
|
].each {
|
|
relocate it, 'com.discordsrv.dependencies.' + it
|
|
}
|
|
// More relocations in buildscript/relocations.gradle
|
|
}
|