documentation:fabric_loom
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
documentation:fabric_loom [2019/06/08 10:29] – Write a bunch more jamieswhiteshirt | documentation:fabric_loom [2019/06/08 13:54] – [Default tasks] jamieswhiteshirt | ||
---|---|---|---|
Line 7: | Line 7: | ||
* '' | * '' | ||
* '' | * '' | ||
- | * '' | + | * '' |
- | * '' | + | * '' |
==== Default tasks ==== | ==== Default tasks ==== | ||
Line 16: | Line 16: | ||
* '' | * '' | ||
* '' | * '' | ||
- | * '' | + | * '' |
+ | * '' | ||
+ | * '' | ||
* '' | * '' | ||
- | * '' | + | * '' |
* '' | * '' | ||
* '' | * '' | ||
Line 36: | Line 38: | ||
* Configures all non-test JavaCompile tasks with configurations for the Mixin annotation processor. | * Configures all non-test JavaCompile tasks with configurations for the Mixin annotation processor. | ||
* Configures the '' | * Configures the '' | ||
+ | * Configures the '' | ||
* Adds the '' | * Adds the '' | ||
* Configures the '' | * Configures the '' | ||
Line 41: | Line 44: | ||
* Manually appends dependencies to the POM for mod-augmented dependency configurations, | * Manually appends dependencies to the POM for mod-augmented dependency configurations, | ||
- | All run configurations | + | All run configurations |
- | Client | + | The client |
==== Configuration ==== | ==== Configuration ==== | ||
'' | '' | ||
- | * '' | + | * '' |
- | * '' | + | * '' |
- | * '' | + | * '' |
- | * '' | + | * '' |
- | * '' | + | * '' |
- | * '' | + | * '' |
==== Publishing ==== | ==== Publishing ==== | ||
+ | |||
+ | The output of the '' | ||
+ | |||
+ | When using the '' | ||
+ | < | ||
+ | mavenJava(MavenPublication) { | ||
+ | artifact(jar.archivePath) { | ||
+ | builtBy remapJar | ||
+ | } | ||
+ | // artifact(sourcesJar) { | ||
+ | // | ||
+ | // } | ||
+ | ... | ||
+ | } | ||
+ | </ | ||
+ | |||
+ | When publishing a project using nested jars to a Maven repository for usage in development environments, | ||
==== Useful task types ==== | ==== Useful task types ==== | ||
- | * '' | + | * '' |
- | * '' | + | * '' |
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
==== Development environment setup ==== | ==== Development environment setup ==== | ||
- | Loom does quite a few things behind the scenes to create a development environment with Minecraft. | + | Loom is designed to work out of the box by simply setting up a workspace in the user's IDE of choice. It does quite a few things behind the scenes to create a development environment with Minecraft: |
- Downloads the client and server jar from official channels for the configured version of Minecraft. | - Downloads the client and server jar from official channels for the configured version of Minecraft. | ||
Line 74: | Line 100: | ||
- Adds dependencies of Minecraft. | - Adds dependencies of Minecraft. | ||
- Downloads Minecraft assets. | - Downloads Minecraft assets. | ||
- | - Remaps | + | - Processes and includes |
==== Caches ==== | ==== Caches ==== | ||
* '' | * '' | ||
- | * '' | + | * '' |
* '' | * '' | ||
* '' | * '' |
documentation/fabric_loom.txt · Last modified: 2023/12/22 14:39 by modmuss50