Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ dependencies {
The userdev plugin provides a way to configure access transformers for your mod.
You need to create an access transformer configuration file in your resources directory, and then configure the userdev plugin to use it.
```groovy
accessTransformer {
accessTransformers {
file 'src/main/resources/META-INF/accesstransformer.cfg'
}
```
Expand Down Expand Up @@ -69,7 +69,7 @@ You can find more information on the format of the file [here](https://github.co
##### <a id="userdev-interface-injections-from-dependencies" /> From Dependencies
When you want to include interfaces during the injection process from a dependency you can do so by using the `consume` and `consumeApi` dependency collector:
```groovy
interfaceInjection {
interfaceInjections {
consume 'net.something.group:module:1.0.0-version' //Use the interface injections published by this dependency.
consumeApi 'net.something.group:module:1.0.0-version' //Use the interface injections published by this dependency, and expose it for your consumers as a dependency as well.
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@

public class InterfaceInjectionPublishing {

public static final String INTERFACE_INJECTION_ELEMENTS_CONFIGURATION = "InterfaceInjectionElements";
public static final String INTERFACE_INJECTION_API_CONFIGURATION = "InterfaceInjectionApi";
public static final String INTERFACE_INJECTION_CONFIGURATION = "InterfaceInjection";
public static final String INTERFACE_INJECTION_ELEMENTS_CONFIGURATION = "interfaceInjectionElements";
public static final String INTERFACE_INJECTION_API_CONFIGURATION = "interfaceInjectionApi";
public static final String INTERFACE_INJECTION_CONFIGURATION = "interfaceInjection";
public static final String INTERFACE_INJECTION_CATEGORY = "interfaceinjection";

@SuppressWarnings("UnstableApiUsage")
Expand Down
Loading