mirror of
https://github.com/DiscordSRV/Ascension.git
synced 2024-11-22 11:55:54 +01:00
25 lines
529 B
Groovy
25 lines
529 B
Groovy
import org.apache.tools.ant.filters.ReplaceTokens
|
|
|
|
apply from: rootProject.file('buildscript/loader.gradle')
|
|
|
|
dependencies {
|
|
// API
|
|
implementation project(':common:common-api')
|
|
|
|
// Platform
|
|
compileOnly(libs.spigotapi)
|
|
|
|
// DependencyDownload
|
|
implementation(libs.mcdependencydownload.bukkit.loader)
|
|
}
|
|
|
|
processResources {
|
|
filter(ReplaceTokens, tokens: ['VERSION': project.version])
|
|
}
|
|
|
|
shadowJar {
|
|
archiveBaseName = 'DiscordSRV-Bukkit'
|
|
}
|
|
|
|
// buildscript/loader.gradle includes the jarinjar in the jar
|