GitHub workflow for building samples.

This commit is contained in:
2023-01-25 19:55:10 -08:00
parent b297931915
commit 73d7019f2e
7 changed files with 31 additions and 6 deletions

View File

@ -3,7 +3,7 @@ package gay.pizza.foundation.concrete
import org.gradle.api.provider.Property
interface ConcreteExtension {
val paperVersionGroup: Property<String>
val paperServerVersionGroup: Property<String>
val paperApiVersion: Property<String>
val minecraftServerPath: Property<String>
val acceptServerEula: Property<Boolean>

View File

@ -31,7 +31,7 @@ open class SetupPaperServer : DefaultTask() {
val paperJarFile = project.file("${concrete.minecraftServerPath.get()}/paper.jar")
if (!paperJarFile.exists() || shouldUpdatePaperServer) {
downloadLatestBuild(concrete.paperVersionGroup.get(), paperJarFile)
downloadLatestBuild(concrete.paperServerVersionGroup.get(), paperJarFile)
}
val paperPluginsDirectory = minecraftServerDirectory.resolve("plugins")