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
|
|
|
|
}
|
|
|
|
|
2022-01-18 18:33:00 +01:00
|
|
|
var spongeVersion = '8.0.0'
|
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
|
|
|
|
annotationProcessor 'org.spongepowered:spongeapi:' + spongeVersion
|
|
|
|
compileOnly 'org.spongepowered:spongeapi:' + spongeVersion
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2022-02-03 20:43:03 +01:00
|
|
|
// API
|
|
|
|
annotationProcessor project(':api')
|
|
|
|
|
2021-07-29 03:14:29 +02:00
|
|
|
// Common
|
|
|
|
implementation project(':common:common-server')
|
|
|
|
|
|
|
|
// Dependency Download
|
2022-02-19 21:47:39 +01:00
|
|
|
implementation 'dev.vankka:dependencydownload-jarinjar-bootstrap:' + rootProject.ddVersion
|
2021-07-29 03:14:29 +02:00
|
|
|
compileOnlyApi project(':sponge:sponge-loader')
|
|
|
|
}
|