2021-07-29 03:14:29 +02:00
|
|
|
apply from: rootProject.file('buildscript/runtime.gradle')
|
|
|
|
|
2022-03-20 12:46:06 +01:00
|
|
|
shadowJar {
|
|
|
|
archiveFileName = 'sponge.jarinjar'
|
|
|
|
|
|
|
|
// Relocations in buildscript/relocations.gradle
|
|
|
|
}
|
|
|
|
|
2021-07-29 03:14:29 +02:00
|
|
|
allprojects {
|
|
|
|
repositories {
|
2022-02-03 20:43:03 +01:00
|
|
|
exclusiveContent {
|
|
|
|
forRepository {
|
|
|
|
maven { url 'https://repo.spongepowered.org/maven/' }
|
|
|
|
}
|
|
|
|
filter {
|
|
|
|
includeGroup 'org.spongepowered'
|
|
|
|
}
|
|
|
|
}
|
2021-07-29 03:14:29 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
// Platform
|
2022-04-22 19:56:11 +02:00
|
|
|
annotationProcessor(libs.spongeapi)
|
|
|
|
compileOnly(libs.spongeapi)
|
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')
|
|
|
|
implementation project(':common:common-templates')
|
2021-07-29 03:14:29 +02:00
|
|
|
|
|
|
|
// Dependency Download
|
2022-04-22 19:56:11 +02:00
|
|
|
implementation(libs.dependencydownload.jarinjar.bootstrap)
|
2021-07-29 03:14:29 +02:00
|
|
|
compileOnlyApi project(':sponge:sponge-loader')
|
|
|
|
}
|