Ascension/bukkit/loader/build.gradle

32 lines
636 B
Groovy
Raw Permalink Normal View History

2021-07-29 03:14:29 +02:00
import org.apache.tools.ant.filters.ReplaceTokens
apply plugin: 'xyz.jpenilla.run-paper'
2021-07-29 03:14:29 +02:00
apply from: rootProject.file('buildscript/loader.gradle')
dependencies {
// API
implementation project(':common:common-api')
2021-07-29 03:14:29 +02:00
// Platform
compileOnly(libs.spigotapi)
2021-07-29 03:14:29 +02:00
// DependencyDownload
2022-04-22 19:56:11 +02:00
implementation(libs.mcdependencydownload.bukkit.loader)
2021-07-29 03:14:29 +02:00
}
processResources {
filter(ReplaceTokens, tokens: ['VERSION': project.version])
}
shadowJar {
archiveBaseName = 'DiscordSRV-Bukkit'
}
tasks {
runServer {
minecraftVersion("1.21.1")
}
}
2021-07-29 03:14:29 +02:00
// buildscript/loader.gradle includes the jarinjar in the jar