mirror of
https://github.com/DiscordSRV/Ascension.git
synced 2024-12-28 17:37:52 +01:00
22 lines
506 B
Groovy
22 lines
506 B
Groovy
|
import org.apache.tools.ant.filters.ReplaceTokens
|
||
|
|
||
|
apply from: rootProject.file('buildscript/loader.gradle')
|
||
|
|
||
|
dependencies {
|
||
|
// API
|
||
|
implementation project(':api')
|
||
|
|
||
|
// DependencyDownload
|
||
|
implementation 'dev.vankka.minecraftdependencydownload:bukkit-loader:' + rootProject.mddVersion
|
||
|
}
|
||
|
|
||
|
processResources {
|
||
|
filter(ReplaceTokens, tokens: ['VERSION': project.version])
|
||
|
}
|
||
|
|
||
|
shadowJar {
|
||
|
archiveBaseName = 'DiscordSRV-Bukkit'
|
||
|
}
|
||
|
|
||
|
// buildscript/loader.gradle includes the jarinjar in the jar
|