mirror of
https://github.com/DiscordSRV/Ascension.git
synced 2024-11-26 12:35:20 +01:00
54 lines
1.4 KiB
Groovy
54 lines
1.4 KiB
Groovy
apply from: rootProject.file('buildscript/runtime.gradle')
|
|
|
|
allprojects {
|
|
repositories {
|
|
exclusiveContent {
|
|
forRepository {
|
|
maven { url 'https://papermc.io/repo/repository/maven-public/' }
|
|
}
|
|
filter {
|
|
includeGroup 'com.destroystokyo.paper'
|
|
}
|
|
}
|
|
|
|
exclusiveContent {
|
|
forRepository {
|
|
maven { url 'https://nexus.scarsz.me/content/groups/public/' }
|
|
}
|
|
filter {
|
|
includeGroup 'net.milkbowl.vault'
|
|
}
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
// Platform
|
|
compileOnly 'com.destroystokyo.paper:paper-api:1.16.5-R0.1-SNAPSHOT'
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
// API
|
|
annotationProcessor project(':api')
|
|
|
|
// 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
|
|
|
|
// Integrations
|
|
compileOnly 'net.milkbowl.vault:VaultAPI:1.7'
|
|
}
|
|
|
|
shadowJar {
|
|
archiveFileName = 'bukkit.jarinjar'
|
|
|
|
relocate 'net.kyori', 'com.discordsrv.dependencies.net.kyori'
|
|
// More relocations in buildscript/relocations.gradle
|
|
}
|