mirror of
https://github.com/DiscordSRV/Ascension.git
synced 2024-12-28 17:37:52 +01:00
32 lines
636 B
Groovy
32 lines
636 B
Groovy
import org.apache.tools.ant.filters.ReplaceTokens
|
|
|
|
apply plugin: 'xyz.jpenilla.run-paper'
|
|
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'
|
|
}
|
|
|
|
tasks {
|
|
runServer {
|
|
minecraftVersion("1.21.1")
|
|
}
|
|
}
|
|
|
|
// buildscript/loader.gradle includes the jarinjar in the jar
|