mirror of
				https://github.com/mcMMO-Dev/mcMMO.git
				synced 2025-11-04 02:53:43 +01:00 
			
		
		
		
	First creation of an NMS Handler. Not sure if relocation works yet.
Signed-off-by: Gabriel Harris-Rouquette <gabizou@me.com>
This commit is contained in:
		@@ -1,3 +1,4 @@
 | 
			
		||||
import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar
 | 
			
		||||
import Config.Libs.Sponge as Sponge
 | 
			
		||||
 | 
			
		||||
plugins {
 | 
			
		||||
@@ -18,6 +19,12 @@ allprojects {
 | 
			
		||||
    dependencies {
 | 
			
		||||
        compile(Projects.core!!)
 | 
			
		||||
    }
 | 
			
		||||
    // TODO dunno if this works yet... project needs to compile.
 | 
			
		||||
    val shadowJar by tasks.getting(ShadowJar::class) {
 | 
			
		||||
        relocate(Deps.Groups.nossr, "${Deps.Groups.nossr}.sponge") {
 | 
			
		||||
            exclude("${Deps.Groups.nossr}.core")
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
subprojects {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user