Skip to content

Pinary-Pi/Pinarys-Library

Repository files navigation

Pinary's Library

This library currently only adds some minor improvements to block model generation. I plan on adding a lot more functionality in the future.

Download and Other Links

Developers - How to Use

You need to edit your build.gradle, but before you do that you need to add a GitHub token to a personal gradle.properties. I have my gradle.properties in C:\Users\MY_USER\.gradle and I recommend putting yours there too.

gradle.properties example:

# Username
gpr.username=Your-Username

# Token
gpr.token=your_personal_access_token

You then need to add this to the build.gradle

def gpr_creds = {
    username = property('gpr.user')
    password = property('gpr.tokenread')
}

repositories {
    maven {
        setUrl("https://maven.pkg.github.com/pinary-pi/pinaryslib")
        credentials gpr_creds
    }
}

And in the dependencies

compile fg.deobf('net.Pinary_Pi.pinaryslib:pinarys-library:1.1.0') {
        exclude module: "forge"
    }

If this doesn't work, post an issue in the issue tracker and I can try to help you.