mirror of
				https://github.com/GayPizzaSpecifications/concrete.git
				synced 2025-11-04 02:19:39 +00:00 
			
		
		
		
	GitHub workflow for building samples.
This commit is contained in:
		@ -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>
 | 
			
		||||
 | 
			
		||||
@ -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")
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user