mirror of
https://github.com/DiscordSRV/Ascension.git
synced 2024-12-01 13:23:59 +01:00
48 lines
1.0 KiB
Groovy
48 lines
1.0 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')
|
|
|
|
// DependencyDownload
|
|
implementation(libs.mcdependencydownload.bungee.bootstrap)
|
|
|
|
// Adventure
|
|
runtimeDownloadApi(libs.adventure.platform.bungee)
|
|
runtimeDownloadApi(libs.adventure.serializer.bungee)
|
|
}
|