User Tools

Site Tools


documentation:fabric_loom

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
documentation:fabric_loom [2022/01/20 13:43] modmuss50documentation:fabric_loom [2022/02/05 23:04] – fix + clarification juuz
Line 41: Line 41:
  // When enabled transitive access wideners will be applied from dependencies.  // When enabled transitive access wideners will be applied from dependencies.
  enableTransitiveAccessWideners = true  enableTransitiveAccessWideners = true
- // When enabled interface injection will be enabled 
- enableInterfaceInjection = true 
  // When enabled log4j will only be on the runtime classpath, forcing the use of SLF4j.  // When enabled log4j will only be on the runtime classpath, forcing the use of SLF4j.
  runtimeOnlyLog4j = false  runtimeOnlyLog4j = false
Line 118: Line 116:
  maxThreads = 8  maxThreads = 8
  }  }
 + }
 +
 + interfaceInjection {
 + // When enabled injected interfaces from dependecies will be applied.
 + enableDependencyInterfaceInjection = true
  }  }
 } }
Line 155: Line 158:
  
  // Remap a mod from maven and apply to gradle's implementation configuration  // Remap a mod from maven and apply to gradle's implementation configuration
 + // (Minor detail: it's not exactly applied *to* the configuration, but a clone of it intended for mod dependencies)
  modImplementation "net.fabricmc.fabric-api:fabric-api:0.46.2+1.18"  modImplementation "net.fabricmc.fabric-api:fabric-api:0.46.2+1.18"
  
Line 166: Line 170:
  modCompileOnlyApi "net.fabricmc.fabric-api:fabric-api:0.46.2+1.18"  modCompileOnlyApi "net.fabricmc.fabric-api:fabric-api:0.46.2+1.18"
  
- // Remap a mod from maven and apply to gradle'runtimeOnlyApi configuration+ // Remap a mod from maven and apply to gradle'runtimeOnly configuration
  modRuntimeOnly "net.fabricmc.fabric-api:fabric-api:0.46.2+1.18"  modRuntimeOnly "net.fabricmc.fabric-api:fabric-api:0.46.2+1.18"
  
documentation/fabric_loom.txt · Last modified: 2023/12/22 14:39 by modmuss50