mirror of
https://github.com/DiscordSRV/Ascension.git
synced 2024-11-26 12:35:20 +01:00
46 lines
998 B
Groovy
46 lines
998 B
Groovy
shadowJar {
|
|
archiveFileName = 'bungee.jarinjar'
|
|
|
|
[
|
|
'net.kyori'
|
|
].each {
|
|
relocate it, 'com.discordsrv.dependencies.' + it
|
|
}
|
|
// More relocations in buildscript/relocations.gradle
|
|
}
|
|
|
|
apply from: rootProject.file('buildscript/runtime.gradle')
|
|
|
|
allprojects {
|
|
repositories {
|
|
exclusiveContent {
|
|
forRepository {
|
|
maven { url 'https://oss.sonatype.org/content/repositories/snapshots/' }
|
|
}
|
|
filter {
|
|
includeGroup 'net.md-5'
|
|
}
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
// Platform
|
|
compileOnly(libs.bungee)
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
// API
|
|
annotationProcessor project(':api')
|
|
|
|
// Common
|
|
implementation project(':common:common-proxy')
|
|
|
|
// DependencyDownload
|
|
implementation(libs.mcdependencydownload.bungee.bootstrap)
|
|
|
|
// Adventure
|
|
runtimeDownloadApi(libs.adventure.platform.bungee)
|
|
runtimeDownloadApi(libs.adventure.serializer.bungee)
|
|
}
|