mirror of
https://github.com/alexcrea/CustomAnvil.git
synced 2026-06-23 16:16:17 +02:00
Add dependency code
parent
f9f65ec77d
commit
6233caad9e
1 changed files with 26 additions and 2 deletions
28
Home.md
28
Home.md
|
|
@ -13,9 +13,33 @@ Here are the general step to make your plugin compatible with Custom Anvil:
|
|||
You can also register Custom anvil recipe if you like to.
|
||||
|
||||
## Add custom anvil as dependency
|
||||
Custom Anvil is available on [Maven Central](https://central.sonatype.com/artifact/xyz.alexcrea/CustomAnvil)
|
||||
|
||||
Currently, there is no clean way to add Custom Anvil as a dependency for your plugin. \
|
||||
Working on that.
|
||||
Make sure `mavenCentral()` is present in your gradle repositories
|
||||
|
||||
### Maven dependency
|
||||
|
||||
```xml
|
||||
<dependency>
|
||||
<groupId>xyz.alexcrea</groupId>
|
||||
<artifactId>CustomAnvil</artifactId>
|
||||
<version>1.5.2</version>
|
||||
</dependency>
|
||||
```
|
||||
|
||||
### Gradle dependency (Groovy)
|
||||
```groovy
|
||||
dependencies {
|
||||
implementation 'xyz.alexcrea:CustomAnvil:1.5.2'
|
||||
}
|
||||
```
|
||||
|
||||
### Gradle dependency (Kotlin)
|
||||
```groovy
|
||||
dependencies {
|
||||
implementation("xyz.alexcrea:CustomAnvil:1.5.2")
|
||||
}
|
||||
```
|
||||
|
||||
## Complementary information
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue