Ascension/bungee/build.gradle

49 lines
1.1 KiB
Groovy
Raw Normal View History

2022-03-20 12:46:06 +01:00
shadowJar {
archiveFileName = 'bungee.jarinjar'
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 {
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 {
// API
annotationProcessor project(':api')
2021-07-29 03:14:29 +02:00
// Common
implementation project(':common')
implementation project(':common:common-templates')
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
}