Skip to content

Commit

Permalink
Make common's CC:T dependencies api, not impl
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
SquidDev committed Aug 30, 2024
1 parent 0069591 commit 89d1be1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions projects/common/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
Expand Down

0 comments on commit 89d1be1

Please sign in to comment.