mirror of
				https://github.com/SquidDev-CC/CC-Tweaked
				synced 2025-10-31 13:42:59 +00:00 
			
		
		
		
	Make common's CC:T dependencies api, not impl
While mods shouldn't be depending on common, sometimes it's unavoidable (e.g. for cc-prometheus). In those cases, you want all the CC classes available, not just the common ones.
This commit is contained in:
		| @@ -38,9 +38,9 @@ repositories { | ||||
| 
 | ||||
| dependencies { | ||||
|     // Pull in our other projects. See comments in MinecraftConfigurations on this nastiness. | ||||
|     implementation(project(":core")) | ||||
|     implementation(commonClasses(project(":common-api"))) | ||||
|     clientImplementation(clientClasses(project(":common-api"))) | ||||
|     api(project(":core")) | ||||
|     api(commonClasses(project(":common-api"))) | ||||
|     clientApi(clientClasses(project(":common-api"))) | ||||
| 
 | ||||
|     compileOnly(libs.bundles.externalMods.common) | ||||
|     compileOnly(variantOf(libs.create.forge) { classifier("slim") }) { isTransitive = false } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Jonathan Coates
					Jonathan Coates