User Tools

Site Tools


zh_cn: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
zh_cn:documentation:fabric_loom [2023/04/29 07:35] – [分离客户端与常规代码] solidblockzh_cn:documentation:fabric_loom [2023/10/10 15:33] (current) – Sync rawdiamondmc
Line 22: Line 22:
 <code> <code>
 dependencies { dependencies {
- implementation project(path: ":name", configuration: "namedElements")+    implementation project(path: ":name", configuration: "namedElements") 
 +
 +</code> 
 + 
 +如果你在多项目构建中使用分离源集,你还需要为其他项目客户端源集添加依赖项。 
 + 
 +<code> 
 +dependencies { 
 +    clientImplementation project(":name").sourceSets.client.output
 } }
 </code> </code>
zh_cn/documentation/fabric_loom.1682753720.txt.gz · Last modified: 2023/04/29 07:35 by solidblock