mirror of
https://github.com/DiscordSRV/Ascension.git
synced 2024-12-28 17:37:52 +01:00
49 lines
1.1 KiB
Groovy
49 lines
1.1 KiB
Groovy
shadowJar {
|
|
archiveFileName = 'bungee.jarinjar'
|
|
|
|
configure {
|
|
[
|
|
'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')
|
|
implementation project(':common:common-templates')
|
|
|
|
// DependencyDownload
|
|
implementation(libs.mcdependencydownload.bungee.bootstrap)
|
|
|
|
// Adventure
|
|
runtimeDownloadApi(libs.adventure.platform.bungee)
|
|
runtimeDownloadApi(libs.adventure.serializer.bungee)
|
|
}
|