mirror of
https://github.com/DiscordSRV/Ascension.git
synced 2024-11-01 08:39:31 +01:00
39 lines
1023 B
Groovy
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
|
|
}
|