Skip to content

Commit

Permalink
Adds information about how to add it as dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
joserobjr committed May 23, 2019
1 parent 7723e27 commit 0afec51
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,39 @@
# NBT Manipulator
This is a Kotlin/Java library that allows you to read and write NBT files and data in a clean and simple way.

## Adding to your project

The library is shared in the maven center, so you don't need to declare any custom repository.

### Gradle
```groovy
repositories {
mavenCentral() // or jcenter()
}
dependencies {
compile 'br.com.gamemods:nbt-manipulator:0.0.1'
}
```

### Maven
```xml
<dependencies>
<dependency>
<groupId>br.com.gamemods</groupId>
<artifactId>nbt-manipulator</artifactId>
<version>0.0.1</version>
</dependency>
</dependencies>
```

### Ivy
```xml
<dependency org='br.com.gamemods' name='nbt-manipulator' rev='0.0.1'>
<artifact name='nbt-manipulator' ext='jar' />
</dependency>
```

## Examples
```kotlin
val compound = NbtCompound()
Expand Down

0 comments on commit 0afec51

Please sign in to comment.