QuiltMC / quilt-loom

MIT License
22 stars 17 forks source link

Fabric-loom being used if included by differing project. #34

Closed ApexModder closed 1 year ago

ApexModder commented 1 year ago

When attempting to add a quilt project into my multi-platform workspace, fabric-loom is being used by all loom projects, even if I explicitly tell them to use quilt-loom.

This is causing projects to not correctly remap included dependencies as loom is looking for fabric related files during remap when being using on quilt.

Steps to reproduce

  1. Include loom plugins
    // root project, included here to use same version everywhere (apply false)
    plugins {
        // ...
        id 'fabric-loom' version '1.2-SNAPSHOT' apply false
        id 'org.quiltmc.loom' version '1.2.+' apply false
        // ...
    }
  2. Setup fabric & quilt sub-projects
    // ...
    // fabric sub-project
    apply plugin: 'fabric-loom'
    // ...
    // ...
    // quilt sub-project
    apply plugin: 'org.quiltmc.loom'
    // ...
  3. Watch as fabric loom will be used for both quilt and fabric sub-projects. This can be seen by seeing Fabric Loom: <> print in console for each project using it. For quilt it obviously should be printing Quilt Loom: <>.

Note: This also happens if a plugins {} block is used for each project (to explicitly define the plugins and versions) rather than defining them in root project.

ApexModder commented 1 year ago

Closing due to being made aware that quilt does not support mixing fabric/quilt loom.