mirror of
				https://github.com/GeyserMC/Floodgate.git
				synced 2025-10-30 23:08:30 +00:00 
			
		
		
		
	* Temporary fix for https://github.com/GeyserMC/Floodgate/issues/510, bump cloud to rc candidate * apparently it is supposed to be nullable. okay then.
		
			
				
	
	
		
			40 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			Kotlin
		
	
	
	
	
	
			
		
		
	
	
			40 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			Kotlin
		
	
	
	
	
	
| import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar
 | |
| 
 | |
| plugins {
 | |
|     id("floodgate.generate-templates")
 | |
| }
 | |
| 
 | |
| dependencies {
 | |
|     api(projects.api)
 | |
|     api("org.geysermc.configutils", "configutils", Versions.configUtilsVersion)
 | |
| 
 | |
|     compileOnly(projects.ap)
 | |
|     annotationProcessor(projects.ap)
 | |
| 
 | |
|     api("com.google.inject", "guice", Versions.guiceVersion)
 | |
|     api("com.nukkitx.fastutil", "fastutil-short-object-maps", Versions.fastutilVersion)
 | |
|     api("com.nukkitx.fastutil", "fastutil-int-object-maps", Versions.fastutilVersion)
 | |
|     api("org.java-websocket", "Java-WebSocket", Versions.javaWebsocketVersion)
 | |
|     api("org.incendo", "cloud-core", Versions.cloudCore)
 | |
|     api("org.bstats", "bstats-base", Versions.bstatsVersion)
 | |
| }
 | |
| 
 | |
| // present on all platforms
 | |
| provided("io.netty", "netty-transport", Versions.nettyVersion)
 | |
| provided("io.netty", "netty-codec", Versions.nettyVersion)
 | |
| 
 | |
| relocate("org.bstats")
 | |
| 
 | |
| tasks {
 | |
|     templateSources {
 | |
|         replaceToken("floodgateVersion", fullVersion())
 | |
|         replaceToken("branch", branchName())
 | |
|         replaceToken("buildNumber", buildNumber())
 | |
|     }
 | |
|     named<Jar>("jar") {
 | |
|         archiveClassifier.set("")
 | |
|     }
 | |
|     named<ShadowJar>("shadowJar") {
 | |
|         archiveClassifier.set("shaded")
 | |
|     }
 | |
| } |