2021-07-29 03:14:29 +02:00
|
|
|
import org.apache.tools.ant.filters.ReplaceTokens
|
|
|
|
|
|
|
|
apply from: rootProject.file('buildscript/loader.gradle')
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
// API
|
2021-10-25 01:04:46 +02:00
|
|
|
implementation project(':common:common-api')
|
2021-07-29 03:14:29 +02:00
|
|
|
|
|
|
|
// DependencyDownload
|
2022-02-19 21:47:39 +01:00
|
|
|
implementation 'dev.vankka:minecraftdependencydownload-bukkit-loader:' + rootProject.mddVersion
|
2021-07-29 03:14:29 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
processResources {
|
|
|
|
filter(ReplaceTokens, tokens: ['VERSION': project.version])
|
|
|
|
}
|
|
|
|
|
|
|
|
shadowJar {
|
|
|
|
archiveBaseName = 'DiscordSRV-Bukkit'
|
|
|
|
}
|
|
|
|
|
|
|
|
// buildscript/loader.gradle includes the jarinjar in the jar
|