Skip to content

Include compile-time dependencies from depended-on projects #27

@PssbleTrngle

Description

@PssbleTrngle

Feature

Assume the following setup:

common/build.gradle.kts

dependencies {
  modImplementation(libs.jei.common.api)
  implementation(libs.some.external.lib)
}

neoforge/build.gradle.kts

neoforge {
  dependsOn(project(":common"))
}

It would be nice if the two libraries added in common would be available in the neoforge project, without them having to be added there manually too.

Possible problems

  • race conditions, mod dependencies have to be added before fabric/neoforge do the remapping, but at that point they might not have been added in the common project yet

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions