2022-03-20 12:46:06 +01:00
|
|
|
shadowJar {
|
|
|
|
archiveFileName = 'bungee.jarinjar'
|
|
|
|
|
2022-06-09 19:03:17 +02:00
|
|
|
configure {
|
|
|
|
[
|
|
|
|
'net.kyori'
|
|
|
|
].each {
|
|
|
|
relocate it, 'com.discordsrv.dependencies.' + it
|
|
|
|
}
|
2022-03-20 12:46:06 +01:00
|
|
|
}
|
|
|
|
// More relocations in buildscript/relocations.gradle
|
|
|
|
}
|
|
|
|
|
2022-04-25 14:35:50 +02:00
|
|
|
apply from: rootProject.file('buildscript/runtime.gradle')
|
|
|
|
|
2021-07-29 03:14:29 +02:00
|
|
|
allprojects {
|
|
|
|
repositories {
|
2022-02-03 20:43:03 +01:00
|
|
|
exclusiveContent {
|
|
|
|
forRepository {
|
|
|
|
maven { url 'https://oss.sonatype.org/content/repositories/snapshots/' }
|
|
|
|
}
|
|
|
|
filter {
|
|
|
|
includeGroup 'net.md-5'
|
|
|
|
}
|
|
|
|
}
|
2021-07-29 03:14:29 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
// Platform
|
2022-04-22 19:56:11 +02:00
|
|
|
compileOnly(libs.bungee)
|
2021-07-29 03:14:29 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2022-02-03 20:43:03 +01:00
|
|
|
// API
|
|
|
|
annotationProcessor project(':api')
|
|
|
|
|
2021-07-29 03:14:29 +02:00
|
|
|
// Common
|
2022-12-18 22:15:24 +01:00
|
|
|
implementation project(':common')
|
2021-07-29 03:14:29 +02:00
|
|
|
|
|
|
|
// DependencyDownload
|
2022-04-22 19:56:11 +02:00
|
|
|
implementation(libs.mcdependencydownload.bungee.bootstrap)
|
2021-07-29 03:14:29 +02:00
|
|
|
|
|
|
|
// Adventure
|
2022-04-22 19:56:11 +02:00
|
|
|
runtimeDownloadApi(libs.adventure.platform.bungee)
|
|
|
|
runtimeDownloadApi(libs.adventure.serializer.bungee)
|
2021-07-29 03:14:29 +02:00
|
|
|
}
|