Ascension/bukkit/loader/build.gradle

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